summaryrefslogtreecommitdiff
path: root/alu.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-09-14 22:50:24 -0700
committerAstrid Smith2010-09-14 22:50:24 -0700
commitd0d96373296052894cea14a7802521cc551219a8 (patch)
tree67b419152b78fad316c8b42459b02923f0d4a6a4 /alu.asm
parent2fffd745741cdefa133837a40d3672894f610e81 (diff)
Conditional jumps work now.
Holy shit that was a hairy debug session. I have a lot to look forward to.
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