about summary refs log tree commit diff stats
path: root/subx/069slice.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/069slice.subx')
-rw-r--r--subx/069slice.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/069slice.subx b/subx/069slice.subx
index ef45e508..d813c3e8 100644
--- a/subx/069slice.subx
+++ b/subx/069slice.subx
@@ -26,7 +26,7 @@ slice-empty?:  # s : (address slice) -> bool/EAX
     8b/copy                         0/mod/indirect  1/rm32/ECX    .           .             .           0/r32/EAX   .               .                 # copy *ECX to EAX
     # . compare EAX with s->end
     39/compare                      1/mod/*+disp8   1/rm32/ECX    .           .             .           0/r32/EAX   4/disp8         .                 # compare EAX and *(ECX+4)
-    b8/copy-to-EAX  1/imm32/false
+    b8/copy-to-EAX  1/imm32/true
     74/jump-if-equal  $slice-empty?:end/disp8
     b8/copy-to-EAX  0/imm32/false
 $slice-empty?:end: