Bitwise operations: Difference between revisions

Content added Content deleted
Line 152: Line 152:
CPX #$08
CPX #$08
BNE loop_ASL
BNE loop_ASL
;although this is called "ASL" the name is misleading because it doesn't preserve the sign of bit 7!
;value will be zero anyway so don't bother
;value will be zero anyway so don't bother
LDA #0
LDA #0