diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 14:17:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 14:17:51 -0300 |
| commit | 4862e778af7779bbdb047b9c71adfb62add319b2 (patch) | |
| tree | 669715d535fe1a381adf95e053ba6a2986039de9 /design/mock/sort-clang.dis | |
| parent | 5941372c6c153ad595236193e61ea027a40a9950 (diff) | |
| download | computeranim-4862e778af7779bbdb047b9c71adfb62add319b2.tar.gz computeranim-4862e778af7779bbdb047b9c71adfb62add319b2.zip | |
design: the disassembly stays under the source; the graph as a track
From the user, on the sort render. Registers a scene never changes fold
three to a row, so the stack is twelve to fifteen slots and the
disassembly keeps its place under the source with eleven to seventeen
rows; a blocks lens has no view. The graph leaves the layered picture of
the reverse-engineering tools: blocks are pills on one line in the order
they run, a loop an arch over its blocks with the turn count at its
centre, every bend a quarter circle; sort's eleven blocks and both loops
are seen whole across the band. Sheets 42 and 43 set the layouts and the
graph's forms side by side.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock/sort-clang.dis')
| -rw-r--r-- | design/mock/sort-clang.dis | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/design/mock/sort-clang.dis b/design/mock/sort-clang.dis new file mode 100644 index 0000000..9a6b085 --- /dev/null +++ b/design/mock/sort-clang.dis @@ -0,0 +1,106 @@ +0000000000401120 <swap>: +swap(): +anim/tools/sort.c:3 + 401120: push rbp + 401121: mov rbp,rsp + 401124: mov QWORD PTR [rbp-0x8],rdi + 401128: mov QWORD PTR [rbp-0x10],rsi +anim/tools/sort.c:4 + 40112c: mov rax,QWORD PTR [rbp-0x8] + 401130: mov eax,DWORD PTR [rax] + 401132: mov DWORD PTR [rbp-0x14],eax +anim/tools/sort.c:5 + 401135: mov rax,QWORD PTR [rbp-0x10] + 401139: mov ecx,DWORD PTR [rax] + 40113b: mov rax,QWORD PTR [rbp-0x8] + 40113f: mov DWORD PTR [rax],ecx +anim/tools/sort.c:6 + 401141: mov ecx,DWORD PTR [rbp-0x14] + 401144: mov rax,QWORD PTR [rbp-0x10] + 401148: mov DWORD PTR [rax],ecx +anim/tools/sort.c:7 + 40114a: pop rbp + 40114b: ret + 40114c: nop DWORD PTR [rax+0x0] + +0000000000401150 <sort>: +sort(): +anim/tools/sort.c:9 + 401150: push rbp + 401151: mov rbp,rsp + 401154: sub rsp,0x10 + 401158: mov DWORD PTR [rbp-0x4],edi +anim/tools/sort.c:10 + 40115b: mov DWORD PTR [rbp-0x8],0x1 + 401162: mov eax,DWORD PTR [rbp-0x8] + 401165: cmp eax,DWORD PTR [rbp-0x4] + 401168: jge 4011f7 <sort+0xa7> +anim/tools/sort.c:11 + 40116e: mov eax,DWORD PTR [rbp-0x8] + 401171: mov DWORD PTR [rbp-0xc],eax +anim/tools/sort.c:12 + 401174: xor eax,eax + 401176: cmp DWORD PTR [rbp-0xc],0x0 + 40117a: mov BYTE PTR [rbp-0xd],al + 40117d: jle 4011a6 <sort+0x56> + 40117f: mov eax,DWORD PTR [rbp-0xc] + 401182: sub eax,0x1 + 401185: movsxd rcx,eax + 401188: lea rax,[rip+0x2e81] # 404010 <a> + 40118f: mov eax,DWORD PTR [rax+rcx*4] + 401192: movsxd rdx,DWORD PTR [rbp-0xc] + 401196: lea rcx,[rip+0x2e73] # 404010 <a> + 40119d: cmp eax,DWORD PTR [rcx+rdx*4] + 4011a0: setg al + 4011a3: mov BYTE PTR [rbp-0xd],al + 4011a6: mov al,BYTE PTR [rbp-0xd] + 4011a9: test al,0x1 + 4011ab: jne 4011af <sort+0x5f> + 4011ad: jmp 4011e7 <sort+0x97> +anim/tools/sort.c:13 + 4011af: mov eax,DWORD PTR [rbp-0xc] + 4011b2: sub eax,0x1 + 4011b5: cdqe + 4011b7: lea rdi,[rip+0x2e52] # 404010 <a> + 4011be: shl rax,0x2 + 4011c2: add rdi,rax + 4011c5: movsxd rax,DWORD PTR [rbp-0xc] + 4011c9: lea rsi,[rip+0x2e40] # 404010 <a> + 4011d0: shl rax,0x2 + 4011d4: add rsi,rax + 4011d7: call 401120 <swap> +anim/tools/sort.c:14 + 4011dc: mov eax,DWORD PTR [rbp-0xc] + 4011df: add eax,0xffffffff + 4011e2: mov DWORD PTR [rbp-0xc],eax +anim/tools/sort.c:12 + 4011e5: jmp 401174 <sort+0x24> +anim/tools/sort.c:16 + 4011e7: jmp 4011e9 <sort+0x99> +anim/tools/sort.c:10 + 4011e9: mov eax,DWORD PTR [rbp-0x8] + 4011ec: add eax,0x1 + 4011ef: mov DWORD PTR [rbp-0x8],eax + 4011f2: jmp 401162 <sort+0x12> +anim/tools/sort.c:17 + 4011f7: add rsp,0x10 + 4011fb: pop rbp + 4011fc: ret + 4011fd: nop DWORD PTR [rax] + +0000000000401200 <main>: +main(): +anim/tools/sort.c:19 + 401200: push rbp + 401201: mov rbp,rsp + 401204: sub rsp,0x10 + 401208: mov DWORD PTR [rbp-0x4],0x0 +anim/tools/sort.c:20 + 40120f: mov edi,0x8 + 401214: call 401150 <sort> +anim/tools/sort.c:21 + 401219: xor eax,eax + 40121b: add rsp,0x10 + 40121f: pop rbp + 401220: ret + |
