diff options
| author | Astrid Smith | 2011-06-24 22:24:54 -0700 |
|---|---|---|
| committer | Astrid Smith | 2011-06-24 22:24:54 -0700 |
| commit | 8180013ecccbb1eff2ff3f93621309225a285dba (patch) | |
| tree | b40040ebd8defe7fdaaa859b9b15047b66f40cc6 /flags.asm | |
| parent | c22fdfeff0c15cfd1324aeadf89fa16c89be21a8 (diff) | |
I spent the afternoon counting cycles.
Diffstat (limited to 'flags.asm')
| -rw-r--r-- | flags.asm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,13 +1,13 @@ ;; Routine to set the given flags ;; Noted in \1 by a 1 bit -F_SET MACRO +F_SET MACRO ; 32 cycles, 8 bytes or.b \1,flag_byte-flag_storage(a3) or.b \1,flag_valid-flag_storage(a3) ENDM ;; Clear the given flags ;; Noted in \1 (must be a reg) by a 1 bit -F_CLEAR MACRO +F_CLEAR MACRO ; 36 cycles, 10 bytes or.b \1,flag_valid-flag_storage(a3) not.b \1 and.b \1,flag_byte-flag_storage(a3) @@ -32,7 +32,7 @@ F_PAR MACRO ;; Use this when an instruction uses the P/V bit as Overflow. ;; Leaves the bit itself implicit; simply marks it dirty. -F_OVFL MACRO +F_OVFL MACRO ; 20 cycles, 6 bytes andi.b #%11111011,flag_valid-flag_storage(a3) ENDM |
