about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-09-20 16:25:25 -0700
committerKartik Agaram <vc@akkartik.com>2018-09-20 16:25:25 -0700
commit7b8cd5dd8dcecfb76389a5fa3f62229d171c70e2 (patch)
tree13bce8083803636f1286a8991c6c2f39900193bf /subx
parentb09d6b5db00390d2eef683217146d5ad61af79a4 (diff)
downloadmu-7b8cd5dd8dcecfb76389a5fa3f62229d171c70e2.tar.gz
4558
Diffstat (limited to 'subx')
-rw-r--r--subx/apps/crenshaw2-1.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 804f9f69..2b46f07f 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -84,7 +84,7 @@ write_stderr:  # s : (address array byte) -> <void>
   8b/copy                         1/mod/*+disp8   4/rm32/SIB    4/base/ESP  4/index/none  .           1/r32/ECX   4/disp8         .                 # copy *(ESP+4) to ECX
   81          0/subop/add         3/mod/direct    1/rm32/ECX    .           .             .           .           .               4/imm32           # add 4 to ECX
     # size = *s
-  8b/copy                         1/mod/*+disp8   4/rm32/SIB    4/base/ESP  4/index/none  .           2/r32/EDX   4/disp8         .                 # copy *(ESP+4) to ECX
+  8b/copy                         1/mod/*+disp8   4/rm32/SIB    4/base/ESP  4/index/none  .           2/r32/EDX   4/disp8         .                 # copy *(ESP+4) to EDX
   8b/copy                         0/mod/indirect  2/rm32/EDX    .           .             .           2/r32/EDX   .               .                 # copy *EDX to EDX
     # call write()
   b8/copy                         .               .             .           .             .           .           .               4/imm32/write     # copy 1 to EAX