From 132d72d28a63e58ec7f5e6fc955be140ee5844b0 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 11 Oct 2021 21:35:16 -0700 Subject: . --- html/315stack-debug.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/315stack-debug.subx.html') diff --git a/html/315stack-debug.subx.html b/html/315stack-debug.subx.html index c7f1e1a9..0a588178 100644 --- a/html/315stack-debug.subx.html +++ b/html/315stack-debug.subx.html @@ -92,12 +92,12 @@ if ('onhashchange' in window) { 34 # 35 89/<- %edx 4/r32/esp 36 # save old cursor position - 37 (cursor-position 0) # => eax, ecx + 37 (cursor-position 0) # => eax, ecx 38 # print at top-right - 39 (set-cursor-position 0 0x70 0) + 39 (set-cursor-position 0 0x70 0) 40 (draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen 0 %edx 0xf 0xc) 41 # restore cursor position - 42 (set-cursor-position %eax %ecx) + 42 (set-cursor-position %eax %ecx) 43 $show-stack-state:end: 44 # . restore registers 45 5a/pop-to-edx @@ -124,11 +124,11 @@ if ('onhashchange' in window) { 66 74/jump-if-= break/disp8 67 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 *(ebp+8) *(ebp+0xc) *(ebp+0x10)) 68 # clear the screen and continue if we got too close to the bottom - 69 (cursor-position 0) # => eax, ecx + 69 (cursor-position 0) # => eax, ecx 70 81 7/subop/compare %ecx 0x28/imm32 71 75/jump-if-!= break/disp8 - 72 (clear-screen 0) - 73 (set-cursor-position 0 0 0) + 72 (clear-screen 0) + 73 (set-cursor-position 0 0 0) 74 } 75 $debug-print:end: 76 # . restore registers -- cgit 1.4.1-2-gfad0 a title='Blame the previous revision' href='/akkartik/mu/blame/html/linux/advent2017/1a.mu.html?h=main&id=b28899fe3792f7cef535d49f0db5ab8a759b5db2'>^
614d0ecf ^
6515bace ^


614d0ecf ^
ec32c11d ^
6515bace ^

dc5a0acf ^

614d0ecf ^

372367f5 ^

dc5a0acf ^
372367f5 ^




6515bace ^

372367f5 ^
6515bace ^

6515bace ^
614d0ecf ^

6515bace ^
614d0ecf ^





6515bace ^
614d0ecf ^














6515bace ^
614d0ecf ^



























372367f5 ^
614d0ecf ^



372367f5 ^
614d0ecf ^


372367f5 ^
614d0ecf ^


























372367f5 ^

614d0ecf ^
372367f5 ^
614d0ecf ^

6515bace ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131