Skip to content

Commit

Permalink
new diagram for 32 bit immediates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Dec 6, 2024
1 parent 71a52f0 commit 9af99c3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Part0-Preamble/1-ObjectStructure/figures/32bitsimmediate2-ascii.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
+---+---+---+---+---+
| | | | 0 | 0 |
+---+---+---+---+---+
|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|
| | | | | 0 | 0 |
|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|
pointer to an object in the heap

+---+---+---+---+---+
| | | | | 1 |
+---+---+---+---+---+
|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|
| | | | | | 1 |
|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|
a SmallInteger instance (31 bits signed int)

+---+---+---+---+---+
| | | | 1 | 0 |
+---+---+---+---+---+
a character instance
|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|
| | | | | 1 | 0 |
|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|---+---+---+---+---+---+---+---|
a character instance

Binary file modified Part0-Preamble/1-ObjectStructure/figures/32bitsimmediate2.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions Part0-Preamble/1-ObjectStructure/figures/exp-ascii.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
+---+---+---+---+---+---+---+---+---+---+
| X | | | 0 | 0 | X | | | 0 | 0 |
+---+---|---+---+---+---+---+---+---+---+
pointer to an object in the heap


+-+-+-+-+-+
| | | |0|0|
+-+-+-+-+-+
Expand Down
Binary file modified Part0-Preamble/1-ObjectStructure/figures/exp.pdf
Binary file not shown.

0 comments on commit 9af99c3

Please sign in to comment.