about summary refs log tree commit diff stats
path: root/302stack_allocate.subx
diff options
context:
space:
mode:
Diffstat (limited to '302stack_allocate.subx')
-rw-r--r--302stack_allocate.subx13
1 files changed, 6 insertions, 7 deletions
diff --git a/302stack_allocate.subx b/302stack_allocate.subx
index 02ad84f2..4634039d 100644
--- a/302stack_allocate.subx
+++ b/302stack_allocate.subx
@@ -37,15 +37,12 @@ $push-n-zero-bytes:prologue:
     89/<- %ebp 4/r32/esp
 $push-n-zero-bytes:copy-ra:
     # -- esp = ebp
-    50/push-eax
-    # -- esp+8 = ebp+4
-    # -- esp+4 = ebp
-    8b/-> *(esp+4) 0/r32/eax
+    89/<- *Push-n-zero-bytes-eax 0/r32/eax
+    8b/-> *esp 0/r32/eax
     2b/subtract *(ebp+4) 4/r32/esp
-    # -- esp+4+n = ebp
-    89/<- *(esp+4) 0/r32/eax
-    58/pop-to-eax
     # -- esp+n = ebp
+    89/<- *esp 0/r32/eax
+    8b/-> *Push-n-zero-bytes-eax 0/r32/eax
 $push-n-zero-bytes:bulk-cleaning:
     89/<- *Push-n-zero-bytes-esp 4/r32/esp
     81 0/subop/add *Push-n-zero-bytes-esp 4/imm32
@@ -60,3 +57,5 @@ Push-n-zero-bytes-ebp:  # (addr int)
   0/imm32
 Push-n-zero-bytes-esp:  # (addr int)
   0/imm32
+Push-n-zero-bytes-eax:
+  0/imm32
t; 2019-03-21 16:32:22 -0400 committer Drew DeVault <sir@cmpwn.com> 2019-03-21 16:32:22 -0400 Add terminal command context' href='/akspecs/aerc/commit/aerc.go?h=0.1.3&id=10dd23f05d271a27ad40a6fafffb5fe2c3e5fe57'>10dd23f ^
b275a39 ^
1418e1b ^

aeb7005

8126d82 ^



8126d82 ^
10dd23f ^

577248f ^

f37508a ^
577248f ^

5d0402a ^




fa04a1e ^
10dd23f ^


8126d82 ^





aeb7005
648ca98 ^



a21afda ^




1767e4f ^
a21afda ^

a0be5e8 ^

b275a39 ^

39c93d2 ^
60b351b ^
f406bf5 ^



b60999c ^
8126d82 ^



b275a39 ^
8126d82 ^




de122b1 ^
8126d82 ^





f406bf5 ^
8126d82 ^
b60999c ^

f406bf5 ^
77a0f68 ^


1418e1b ^
60b351b ^
de122b1 ^
1418e1b ^
661e3ec ^

305446a ^
6394e38 ^
aeb7005
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