Bitwise operations: Difference between revisions

m
Line 181:
CPX #$08
BNE loop_ASR
;value will be zeroeither 0 or #$FF anyway so don't bother
PHA
PLA ;set the flags according to the accumulator
 
BMI returnFF
LDA #0
RTS
returnFF:
LDA #$FF
RTS
 
1,489

edits