From 4c7dcadeddaa50fb52fd44a2cc71df1f570e092a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 12:08:00 -0300 Subject: design: the address space said with less; a word read low byte first; aligned in two forms From the user. The address space is a slim bar to true scale with its two ends written, each cluster enlarged once beside it, and every band carrying the addresses where it starts and stops and its size; no rulers, no factors. The stack's bytes on screen are tied to their place in it. regroup is drawn: a word's eight bytes fly out low byte first and land reversed as its sixteen digits. aligned has two forms a scene asks for by name: interleaved, a line as the head of its instructions, and columns, the source beside them with each line as tall as its run. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- design/mock/30-intro-words.svg | 596 +++++++++++++++++++---------------------- 1 file changed, 269 insertions(+), 327 deletions(-) (limited to 'design/mock/30-intro-words.svg') diff --git a/design/mock/30-intro-words.svg b/design/mock/30-intro-words.svg index 3231e34..37708fc 100644 --- a/design/mock/30-intro-words.svg +++ b/design/mock/30-intro-words.svg @@ -1,331 +1,273 @@ - -eight bytes a row, read right to left, a word -7fffffffece0 -00 -ed -ff -ff -ff -7f -00 -00 -7fffffffed00 -7fffffffece8 -b0 -18 -00 -01 -00 -00 -00 -00 -10018b0 -7fffffffecf0 -e8 -0d -e2 -f7 -ff -7f -00 -00 -7ffff7e20de8 -7fffffffecf8 -00 -00 -00 -00 -00 -00 -00 -00 -0 -7fffffffed00 -b0 -ed -ff -ff -ff -7f -00 -00 -7fffffffedb0 -7fffffffed08 -81 -77 -c2 -f7 -ff -7f -00 -00 -7ffff7c27781 -7fffffffed10 -60 -0c -fe -f7 -ff -7f -00 -00 -7ffff7fe0c60 -7fffffffed18 -38 -ee -ff -ff -ff -7f -00 -00 -7fffffffee38 -7fffffffed20 -00 -e0 -fb -f7 -01 -00 -00 -00 -1f7fbe000 -7fffffffed28 -60 -18 -00 -01 -00 -00 -00 -00 -1001860 -7fffffffed30 -70 -ed -ff -ff -ff -7f -00 -00 -7fffffffed70 -7fffffffed38 -60 -f2 -fd -f7 -ff -7f -00 -00 -7ffff7fdf260 -7fffffffed40 -00 -00 -00 -00 -00 -00 -00 -00 -0 -7fffffffed48 -1c -78 -a5 -95 -fc -35 -e3 -1f -1fe335fc95a5781c -7fffffffed50 -38 -ee -ff -ff -ff -7f -00 -00 -7fffffffee38 -7fffffffed58 -01 -00 -00 -00 -00 -00 -00 -00 -1 - - - - - - - -0 TiB - -16 TiB - -32 TiB - -48 TiB - -64 TiB - -80 TiB - -96 TiB - -112 TiB - -128 TiB - - - - - - - - - - - - - - - - - - - - - - -0x7fffffffffff · the user half's end -0 -above: 16 EiB not canonical, then the kernel's half - - - -0 MiB - -32 MiB - -64 MiB - -96 MiB - -128 MiB - -160 MiB - -192 MiB - -224 MiB - -256 MiB - - - - - - - - - - - - - - - - - - - -the top 256 MiB · × 500 000 - - - -0 MiB - -1 MiB - -2 MiB - -3 MiB - -4 MiB - - - - - - -r-x ld.so -180 KiB - - - - - -r-- ld.so.cache -260 KiB - - - - - - -r-- libc.so.6 -472 KiB - - -r-x libc.so.6 -1.5 MiB - - -r-- libc.so.6 -144 KiB - - -the libraries, 4 MiB · × 32 - - - -0 MiB - -4 MiB - -8 MiB - -12 MiB - -16 MiB - -20 MiB - - - - - - - - -the bottom 20 MiB · × 7 000 000 - -rw- [stack] 132 KiB, rsp in it: a hairline even here - - - -Eight bytes make a word, stored low byte first: read right to left, -this one is 10018b0, an address in the code, so it takes code's ink. + + + + + +7fffffffffff +0 +128 TiB + + + + +7ffffffff000 +rw- +132 KiB + +7ffffffde000 +[stack] + + + + + +r-x + + +r-- + + + + + + + + + + + + + + + +7ffff7fff000 +260 KiB + +7ffff7fbe000 + +7ffff7fb6000 +r-- +260 KiB + +7ffff7f75000 + +7ffff7e23000 +2.1 MiB + +7ffff7c00000 +ld.so +ld.so.cache +libc.so.6 + + + + + + + + + + + + + +1025000 +rw- +132 KiB + +1004000 +rw- +4 KiB + +1003000 +r-- +4 KiB + +1002000 + +r-x +4 KiB + +1001000 +r-- +4 KiB + +1000000 +[heap] + + + +list +7fffffffece0 +00 +ed +ff +ff +ff +7f +00 +00 +7fffffffed00 +7fffffffece8 +b0 +18 +00 +01 +00 +00 +00 +00 +10018b0 +7fffffffecf0 +e8 +0d +e2 +f7 +ff +7f +00 +00 +7ffff7e20de8 +7fffffffecf8 +00 +00 +00 +00 +00 +00 +00 +00 +0 +7fffffffed00 +b0 +ed +ff +ff +ff +7f +00 +00 +7fffffffedb0 +7fffffffed08 +81 +77 +c2 +f7 +ff +7f +00 +00 +7ffff7c27781 +7fffffffed10 +60 +0c +fe +f7 +ff +7f +00 +00 +7ffff7fe0c60 +7fffffffed18 +38 +ee +ff +ff +ff +7f +00 +00 +7fffffffee38 +7fffffffed20 +00 +e0 +fb +f7 +01 +00 +00 +00 +1f7fbe000 +7fffffffed28 +60 +18 +00 +01 +00 +00 +00 +00 +1001860 +7fffffffed30 +70 +ed +ff +ff +ff +7f +00 +00 +7fffffffed70 +7fffffffed38 +60 +f2 +fd +f7 +ff +7f +00 +00 +7ffff7fdf260 +7fffffffed40 +00 +00 +00 +00 +00 +00 +00 +00 +0 +7fffffffed48 +1c +78 +a5 +95 +fc +35 +e3 +1f +1fe335fc95a5781c +7fffffffed50 +38 +ee +ff +ff +ff +7f +00 +00 +7fffffffee38 +7fffffffed58 +01 +00 +00 +00 +00 +00 +00 +00 +1 + + + + + + + +A word takes the ink of the mapping it points into: +10018b0 is in list's code, 1001000 to 1002000. -- cgit v1.3