You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: alt/scheme/README.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -46,16 +46,17 @@ can implement your own "keyDown" and "drawChar" operations using `(peek 4095)` a
46
46
47
47
## Memory Layout
48
48
49
-
| Address | Label | Contents | Description |
50
-
| 0 |`interpreter.static_stack`| SP | Address of the cons list that represents the stack: i.e. a "pair" rib which contains the value at the top of the stack and points to the next entry. |
51
-
| 1 |`interpreter.static_pc`| PC | Address of the rib currently being interpreted. |
52
-
| 2 |`interpreter.static_nextRib`| NEXT_RIB | Address where the next allocation will occur. |
| 0 |`Interpreter.stack`|`SP`| Address of the cons list that represents the stack: i.e. a "pair" rib which contains the value at the top of the stack and points to the next entry. |
52
+
| 1 |`Interpreter.pc`|`PC`| Address of the rib currently being interpreted. |
53
+
| 2 |`Interpreter.nextRib`|`NEXT_RIB`| Address where the next allocation will occur. |
53
54
| ... ||| TBD: values used by the garbage collector to keep track of free space. |
54
55
| 256– ||| Jack stack. |
55
-
| 1936–2015 |`interpreter.static_bufferStart`/`End`|| Space to store a line of input from the keyboard. |
56
-
| 2016–2047 |`interpreter.static_handlers`|| Function pointer for each primitive handler. |
0 commit comments