From 2533ec08caed5ad7194a7372f3e46cf1f1efc112 Mon Sep 17 00:00:00 2001 From: Edward Amsden Date: Sun, 24 Jul 2022 04:26:27 -0500 Subject: [PATCH] Fix table in stack.md --- docs/stack.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/stack.md b/docs/stack.md index 4082e82..9109bc6 100644 --- a/docs/stack.md +++ b/docs/stack.md @@ -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.