summaryrefslogtreecommitdiff
path: root/alu.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-09-14 22:50:24 -0700
committerDuncan Smith2010-09-14 22:50:24 -0700
commit3759ea83b657719244d12765f5717cae576fefb5 (patch)
tree151975ce00bbcf342a20557fe4329d84fc694981 /alu.asm
parent1f43ebf7030be20a3e559375a0ad09262ca2e1c3 (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