summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-06-10 20:34:56 -0700
committerDuncan Smith2010-06-10 20:34:56 -0700
commit2435cb41d9768e0da9696f5e82ef61557ad31222 (patch)
treea8d1c660f564a1b071fd09cbc4a7f98a6c80cd66 /main.asm
parenta3bf06f9b36fe9d4739b1d269a39eb37954ce783 (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 06e5fd6..9383eaf 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: