Search found 2 matches
- Sat Jun 16, 2007 11:21 pm
- Forum: NESdev
- Topic: Very simple 6502 asm question
- Replies: 5
- Views: 2914
- Sat Jun 16, 2007 10:42 pm
- Forum: NESdev
- Topic: Very simple 6502 asm question
- Replies: 5
- Views: 2914
Very simple 6502 asm question
lda #$01
sta $4016
lda #$00
sta $4016
Would the above code simply write $0001 to address $4016, and then instantly replace it with $0000? What purpose could that serve?
Or am I missing something?
sta $4016
lda #$00
sta $4016
Would the above code simply write $0001 to address $4016, and then instantly replace it with $0000? What purpose could that serve?
Or am I missing something?