summaryrefslogtreecommitdiff
path: root/alu.asm
diff options
context:
space:
mode:
Diffstat (limited to 'alu.asm')
-rw-r--r--alu.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/alu.asm b/alu.asm
index 5eb79de..3432938 100644
--- a/alu.asm
+++ b/alu.asm
@@ -86,6 +86,6 @@ alu_cp:
move.b #1,f_tmp_byte
andi.b #%00000010,flag_valid
move.b #%00000010,flag_byte
- sub d0,d1
+ sub.b d0,d1
move sr,f_host_sr
rts