From f4ae43bbc178bf4ba742e8359b7fbb40db2dc6d1 Mon Sep 17 00:00:00 2001 From: ShatteredMINT Date: Wed, 2 Sep 2026 11:13:48 +0200 Subject: [PATCH] update memory overview --- MEMORY.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/MEMORY.md b/MEMORY.md index d1b55e5..a674fd1 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -4,13 +4,15 @@ To not have to allocate a ton of things at run time the Standard Library uses a ## Overview -| Address Range | Use | +| Start | Use | | ---- | ---- | -| `0x0:0x15` | Reset Vector | -| `0x16:0xFF` | Zero | -| `0x100:(user code end)` | User Code | -| `(User code end + 1):0xFFFF` | Library Code | -| `0xXXF0_0000:0xXXFF_FFFF` | Stack | +| `0x0` | Reset Vector | +| `0x16` | Zero Page | +| `0x100` | User Code | +| `?` | Library Code | +| `0x1_0000` | heap | +| `0xXXF0_0000` | Stack | +| `0xXXFF_0000` | quick access | ## Zero Page Some values are needed not often enough to get their own special register, but often enough that it makes sense to keep them at a quickly accessible location.