diff options
Diffstat (limited to 'subx/examples/ex10.subx')
-rw-r--r-- | subx/examples/ex10.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/examples/ex10.subx b/subx/examples/ex10.subx index 72da1da0..f68f1afd 100644 --- a/subx/examples/ex10.subx +++ b/subx/examples/ex10.subx @@ -45,7 +45,7 @@ $argv-equal:loop: bb/copy-to-EBX 0/imm32 8a/copy-byte 0/mod/indirect 2/rm32/EDX . . . 3/r32/BL . . # copy byte at *EDX to BL # if (c1 == 0) break - 3d/compare-EAX 0/imm32 + 3d/compare-EAX-and 0/imm32 74/jump-if-equal $argv-equal:break/disp8 # if (c1 != c2) return false 39/compare 3/mod/direct 0/rm32/EAX . . . 3/r32/EBX . . # compare EAX and EBX |