mirror of
https://github.com/urbit/ares.git
synced 2024-11-22 15:08:54 +03:00
Fix table in stack.md
This commit is contained in:
parent
26424c4bae
commit
2533ec08ca
@ -7,12 +7,13 @@ This document describes the current (2022/01/13) state of the memory layout and
|
|||||||
Nouns are represented as machine words with the MSBs as tag bits.
|
Nouns are represented as machine words with the MSBs as tag bits.
|
||||||
By treating a 0 MSB as the tag for a direct atom, we can compute directly with direct atoms without masking the tag.
|
By treating a 0 MSB as the tag for a direct atom, we can compute directly with direct atoms without masking the tag.
|
||||||
|
|
||||||
|------|-----------------------|
|
|
||||||
| MSBs | Noun |
|
| MSBs | Noun |
|
||||||
|
|------|-----------------------|
|
||||||
| 0 | Direct Atom |
|
| 0 | Direct Atom |
|
||||||
| 10 | Cell Pointer |
|
| 10 | Cell Pointer |
|
||||||
| 110 | Indirect Atom Pointer |
|
| 110 | Indirect Atom Pointer |
|
||||||
|------|-----------------------|
|
|
||||||
|
|
||||||
A direct atom is an atom which fits in a machine word, less one bit for the tag. It is stored directly.
|
A direct atom is an atom which fits in a machine word, less one bit for the tag. It is stored directly.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user