RosettaCodeData/Task/Variables/6502-Assembly/variables-5.6502

9 lines
160 B
Plaintext

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