about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xsubx/apps/handlebin19418 -> 19418 bytes
-rw-r--r--subx/apps/handle.subx4
2 files changed, 2 insertions, 2 deletions
diff --git a/subx/apps/handle b/subx/apps/handle
index fc09834c..e1900e47 100755
--- a/subx/apps/handle
+++ b/subx/apps/handle
Binary files differdiff --git a/subx/apps/handle.subx b/subx/apps/handle.subx
index 073b624c..39bbf501 100644
--- a/subx/apps/handle.subx
+++ b/subx/apps/handle.subx
@@ -213,9 +213,9 @@ lookup:  # h : (handle T) -> EAX : (address T)
     8b/copy                         1/mod/*+disp8   5/rm32/EBP    .           .             .           0/r32/EAX   8/disp8         .                 # copy *(EBP+8) to EAX
     # - inline {
     # push handle->address
-    ff          6/subop/push        1/mod/*+disp8   1/rm32/ECX    .           .             .           .           4/disp8         .                 # push *(EAX+4)
+    ff          6/subop/push        1/mod/*+disp8   0/rm32/EAX    .           .             .           .           4/disp8         .                 # push *(EAX+4)
     # EAX = handle->alloc_id
-    8b/copy                         0/mod/indirect  0/rm32/EAX    .           .             .           .           .               .                 # copy *EAX to EAX
+    8b/copy                         0/mod/indirect  0/rm32/EAX    .           .             .           0/r32/EAX   .               .                 # copy *EAX to EAX
     # if (EAX != *ESP) abort
     39/compare                      0/mod/indirect  4/rm32/sib    4/base/ESP  4/index/none  .           0/r32/EAX   .               .                 # compare *ESP and EAX
     75/jump-if-not-equal  $lookup:abort/disp8