RosettaCodeData/Task/Null-object/6502-Assembly/null-object.6502

9 lines
197 B
Plaintext

lda pointer ;a zero-page address that holds the low byte of a pointer variable.
CMP #$FF
BNE .continue
lda pointer+1
CMP #$FF
BNE .continue
RTS ;return without doing anything
.continue