RosettaCodeData/Task/Gotchas/6502-Assembly/gotchas-1.6502
2023-07-01 13:44:08 -04:00

5 lines
263 B
Text

LDA 'J' ;load the 8-bit value stored at memory address 0x004A into the accumulator.
OR 3 ;bitwise OR the accumulator with the 8-bit value stored at memory address 0x0003
LDA #'7' ;load the ASCII code for the numeral 7 (which is 0x37) into the accumulator.