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

3 lines
80 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
LDA #$01
ROR ;if the carry was set prior to the ROR, A = 0x80. If clear, A = 0.