about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-05 21:16:45 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-05 21:16:45 -0700
commit316bf37541c820e3c9d4b6640f4db324c4b2963b (patch)
treed2ce95ce10bc460135c478d1816dfb181992b8d6 /linux
parent928fd47d680a5cbdfa798c4a66ee61f693407faf (diff)
downloadmu-316bf37541c820e3c9d4b6640f4db324c4b2963b.tar.gz
undo previous commit
Diffstat (limited to 'linux')
-rw-r--r--linux/126write-int-decimal.subx3
-rw-r--r--linux/ex1.subx1
2 files changed, 1 insertions, 3 deletions
diff --git a/linux/126write-int-decimal.subx b/linux/126write-int-decimal.subx
index d38e1a17..bff585a7 100644
--- a/linux/126write-int-decimal.subx
+++ b/linux/126write-int-decimal.subx
@@ -167,10 +167,9 @@ test-write-int32-decimal-zero:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    b8/copy-to-eax 0x48/imm32
     # write-int32-decimal(_test-stream, 0)
     # . . push args
-    50/push-eax
+    68/push  0/imm32
     68/push  _test-stream/imm32
     # . . call
     e8/call  write-int32-decimal/disp32
diff --git a/linux/ex1.subx b/linux/ex1.subx
index 3a8f700c..183c014a 100644
--- a/linux/ex1.subx
+++ b/linux/ex1.subx
@@ -11,7 +11,6 @@
 == code
 
 Entry:
-e8/call test-write-int32-decimal-zero/disp32
 # exit(42)
 bb/copy-to-ebx  0x2a/imm32  # 42 in hex
 e8/call  syscall_exit/disp32