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/36-aligned-columns.svg | 147 +++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 design/mock/36-aligned-columns.svg (limited to 'design/mock/36-aligned-columns.svg') diff --git a/design/mock/36-aligned-columns.svg b/design/mock/36-aligned-columns.svg new file mode 100644 index 0000000..28a22a6 --- /dev/null +++ b/design/mock/36-aligned-columns.svg @@ -0,0 +1,147 @@ + + + + + + +list.c · reverse +each line level with its instructions + + + +20 +while +( +head +) +{ +1001 +910 +test +rdi, rdi +1001 +913 +je +1001935 +1001 +915 +push +rbp +1001 +916 +mov +rbp, rsp +1001 +919 +xor +eax, eax +1001 +91b +nop +[rax + rax] +1001 +920 +mov +rcx, rax +1001 +923 +mov +rax, rdi + + + +21 +struct +node +* +next += +head +- +> +next +; + + + +1001 +926 +mov +rdi, [rdi + 8] +1004098 + + +1004070 + + +9 + + +22 +head +- +> +next += +prev +; +1001 +92a +mov +[rax + 8], rcx + +23 +prev = head; +24 +head = next; +25 +} +no code of their own + +20 +while (head) { +again: its second run +1001 +92e +test +rdi, rdi +1001 +931 +jne +1001920 +1001 +933 +pop +rbp + + +26 +return +prev +; +1001 +934 +ret + +1001 +935 +xor +eax, eax +1001 +937 +ret + + +_init · no line +1001 +938 +endbr64 + +1001 +93c +sub +rsp, 8 + +The same listing in two columns: each line level with the first +of its instructions. Lines 23 to 25 compiled to nothing of their own. + -- cgit v1.3