Merge branch 'master' into doc/persistent-memory-proposal

This commit is contained in:
Edward Amsden 2022-08-25 12:48:53 -05:00
commit 05a4910370
No known key found for this signature in database
GPG Key ID: 548EDF608CA956F6

View File

@ -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.
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 |
|------|-----------------------|
| 0 | Direct Atom |
| 10 | Cell 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.