about summary refs log tree commit diff stats
path: root/115write-byte.subx
diff options
context:
space:
mode:
Diffstat (limited to '115write-byte.subx')
-rw-r--r--115write-byte.subx2
1 files changed, 2 insertions, 0 deletions
diff --git a/115write-byte.subx b/115write-byte.subx
index 0a4e3c7d..d38db24c 100644
--- a/115write-byte.subx
+++ b/115write-byte.subx
@@ -210,6 +210,7 @@ append-byte:  # f: (addr stream byte), n: int
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # . save registers
+    50/push-eax
     51/push-ecx
     57/push-edi
     # edi = f
@@ -231,6 +232,7 @@ $append-byte:end:
     # . restore registers
     5f/pop-to-edi
     59/pop-to-ecx
+    58/pop-to-eax
     # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp