summaryrefslogtreecommitdiff
path: root/flags.asm
diff options
context:
space:
mode:
authorAstrid Smith2011-06-24 02:51:22 -0700
committerAstrid Smith2011-06-24 02:51:22 -0700
commit5b2b037bc230953d9280a013c69d3d32af1d7152 (patch)
treecf12bac077202f918ce6659ac738387667dc89bf /flags.asm
parenta9bbe01ed90df9f744c1a0e308090b6d145ff1bf (diff)
HOLY CRAP IT PRINTED A STRING
Diffstat (limited to 'flags.asm')
-rw-r--r--flags.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/flags.asm b/flags.asm
index 0377108..4250d4f 100644
--- a/flags.asm
+++ b/flags.asm
@@ -62,8 +62,8 @@ FNC_ok:
andi.b #%00000001,d1
rts
- ;; Normalize and return inverse of emulated Zero bit (loaded
- ;; into host zero flag)
+ ;; Normalize and return **INVERSE** of emulated Zero bit
+ ;; (loaded into host's zero flag)
;; Destroys d1
f_norm_z:
@@ -76,7 +76,7 @@ FNZ_ok:
andi.b #%01000000,d1
rts
- ;; Normalize and return inverse of emulated Parity/oVerflow
+ ;; Normalize and return **INVERSE** of emulated Parity/oVerflow
;; bit (loaded into host zero flag)
;; Destroys d1
@@ -192,7 +192,7 @@ flags_normalize:
not.b d0
and.b d0,d1 ; Mask out all the unwanted bits
not.b d0
- ori.b #%11000101,d0
+ ori.b #%11000101,d0 ; These are the z80 flag register bits that can be derived from the 68k CCR.
move.b d0,flag_valid-flag_storage(a3)
or.b d1,flag_byte-flag_storage(a3)
rts