RosettaCodeData/Task/Variables/6502-Assembly/variables-5.6502
2023-07-01 13:44:08 -04:00

8 lines
160 B
Text

LDA #$05
STA Player1_Lives ;equivalent C code: Player1_Lives = 5;
LDA #$05
STA pointer+1
LDA #$40
STA pointer
;loads the variable pointer with the value $0540