about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-25 23:33:49 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-25 23:33:49 -0700
commite0d034b565d7851b87649f14257b48690592665b (patch)
tree02f9515291aeaa636c106647f4011fb23bb02c07 /apps
parentfc55af70a5b0771d7656024716a51345bbe11fcb (diff)
downloadmu-e0d034b565d7851b87649f14257b48690592665b.tar.gz
5590
Diffstat (limited to 'apps')
-rw-r--r--apps/desugar.subx2
-rw-r--r--apps/dquotes.subx2
-rw-r--r--apps/survey.subx2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/desugar.subx b/apps/desugar.subx
index e66e58b1..ac1e64ba 100644
--- a/apps/desugar.subx
+++ b/apps/desugar.subx
@@ -82,7 +82,7 @@ $run-main:
     # . . call
     e8/call  convert/disp32
     # . . discard args
-    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x8/imm32         # add to ESP
+    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # . syscall(exit, 0)
     bb/copy-to-EBX  0/imm32
 $main:end:
diff --git a/apps/dquotes.subx b/apps/dquotes.subx
index 1375211c..296e6879 100644
--- a/apps/dquotes.subx
+++ b/apps/dquotes.subx
@@ -322,7 +322,7 @@ process-string-literal:  # string-literal : (address slice), out : (address buff
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # emit-string-literal-data(out-segment, string-literal)
     # . . push args
-    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0x8/disp8       .                 # push *(EBP+8)
+    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           0x10/disp8      .                 # push *(EBP+16)
     # . . call
     e8/call  emit-string-literal-data/disp32
diff --git a/apps/survey.subx b/apps/survey.subx
index ee9f637d..5524f63b 100644
--- a/apps/survey.subx
+++ b/apps/survey.subx
@@ -332,7 +332,7 @@ convert:  # infile : (address buffered-file), out : (address buffered-file) -> <
     # . . call
     e8/call  compute-addresses/disp32
     # . . discard args
-    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x8/imm32         # add to ESP
+    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # rewind-stream(in)
     # . . push args
     56/push-ESI