RosettaCodeData/Task/Bitwise-operations/6502-Assembly/bitwise-operations-8.6502

3 lines
80 B
Plaintext

LDA #$01
ROR ;if the carry was set prior to the ROR, A = 0x80. If clear, A = 0.