Bitwise operations: Difference between revisions
m
→{{header|6502 Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 181:
CPX #$08
BNE loop_ASR
;value will be
PHA
PLA ;set the flags according to the accumulator
BMI returnFF
LDA #0
RTS
returnFF:
LDA #$FF
RTS
|