about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-16 21:05:24 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-16 21:05:24 -0700
commit1019ac230416155d680276e0ded8da63da6681cf (patch)
tree53ffb42099a9aad3b03fcbdd6f93adfe7a66d4b5 /subx
parentd3f21c0074522a93a0d0d59a413099c54505f87f (diff)
downloadmu-1019ac230416155d680276e0ded8da63da6681cf.tar.gz
5098
Diffstat (limited to 'subx')
-rw-r--r--subx/apps/pack.subx12
1 files changed, 6 insertions, 6 deletions
diff --git a/subx/apps/pack.subx b/subx/apps/pack.subx
index 40f80ab9..cc9a9135 100644
--- a/subx/apps/pack.subx
+++ b/subx/apps/pack.subx
@@ -1926,7 +1926,7 @@ $convert-instruction:pass-through:
 $convert-instruction:really-convert:
     # emit-opcodes(line, out)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     # . . call
     e8/call  emit-opcodes/disp32
@@ -1934,7 +1934,7 @@ $convert-instruction:really-convert:
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # emit-modrm(line, out)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     # . . call
     e8/call  emit-modrm/disp32
@@ -1942,7 +1942,7 @@ $convert-instruction:really-convert:
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # emit-sib(line, out)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     # . . call
     e8/call  emit-sib/disp32
@@ -1950,7 +1950,7 @@ $convert-instruction:really-convert:
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # emit-disp(line, out)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     # . . call
     e8/call  emit-disp/disp32
@@ -1958,7 +1958,7 @@ $convert-instruction:really-convert:
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # emit-imm(line, out)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     # . . call
     e8/call  emit-imm/disp32
@@ -1966,7 +1966,7 @@ $convert-instruction:really-convert:
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # emit-line-in-comment(line, out)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0xc/disp8       .                 # push *(EBP+12)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     # . . call
     e8/call  emit-line-in-comment/disp32
Kartik K. Agaram <vc@akkartik.com> 2022-06-29 17:58:58 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2022-06-29 17:58:58 -0700 bugfix: save previous file when dropping a new one on' href='/akkartik/lines.love/commit/main_tests.lua?id=d009390cc4fa891d8c6399e12bb83567606156e2'>d009390 ^
2a0a770 ^
d009390 ^
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