RosettaCodeData/Task/Bitwise-operations/6502-Assembly/bitwise-operations-8.6502
2023-07-01 13:44:08 -04:00

2 lines
80 B
Text

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