| 1 | # Reservations # |
| 2 | |
| 3 | ## Label ## |
| 4 | |
| 5 | 00000000 0xxxxxxx - reserved for stdlib function entry points |
| 6 | 00000000 1xxxxxxx - unassigned |
| 7 | 0xxxxxxx xxxxxxxx - reserved for private use by stdlib |
| 8 | 1xxxxxxx xxxxxxxx - available for use in user programs |
| 9 | |
| 10 | ## Heap ## |
| 11 | |
| 12 | The first 256 heap addresses are reserved when using the stdlib. |
| 13 | |
| 14 | # Entry Points # |
| 15 | |
| 16 | The following labels are entry points to stdlib functions. Read the |
| 17 | header comment for each function to learn the call and return stack. |
| 18 | |
| 19 | stdio.pvvs: |
| 20 | 1000 - print string from stack |
| 21 | 1001 - print string from heap |
| 22 | |
| 23 | # Misc # |
| 24 | |
| 25 | By convention, each public stdlib label will have 8 bits of |
| 26 | private label space associated with it, formed as follows: |
| 27 | |
| 28 | 00001000 xxxxxxxx - for use by 1000 |
| 29 | 00001001 xxxxxxxx - for use by 1001 |