summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-06-10 20:34:56 -0700
committerAstrid Smith2010-06-10 20:34:56 -0700
commitf9087b5c6e2bc6b8d68e3643f194a50c8989df18 (patch)
tree41abda1397d447bb2feb39ed4b4c5ca2e87065e4 /main.asm
parentea86518d125691b55ead42f86c87f1d21736e0cc (diff)
Parted out flag norm routines to subroutines, as they're hueg
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index 2a93928..d069ee8 100644
--- a/main.asm
+++ b/main.asm
@@ -638,7 +638,7 @@ emu_op_30:
;; JR NC,immed.b
;; If carry clear
;; PC <- PC+immed.b
- F_NORM_C
+ bsr f_norm_c
bne end_30 ; branch taken: carry set
FETCHBI d1
add.w d1,d2
@@ -1732,6 +1732,9 @@ emu_op_c0:
;; PCl <- (SP)
;; PCh <- (SP+1)
;; SP <- (SP+2)
+ bsr f_norm_z
+ beq emu_op_c9 ; RET
+ DONE
START
emu_op_c1: