|
Hello,
I need you guys understanding indirect indexed addressing. In the following suppose that "backg" is the label of where some name table data is included.
lda #low(backg) sta $10 lda #high(backg) sta $11
ldx #4 ldy #0 loop: lda [$10],y sta $2007 iny bne loop inc $11 ; This is what i don't understand dex bne loop
I understand that this is loading 4 chunks of 256 bytes. But the instruction i don't get is the inc $11. I know that this increments the high byte address of the data to the next 256 bytes chunk. But let's say that the address of "backg" is $82C5. When incrementing the high byte of the address, does it becomes $82C6? If yes then it's not a step of 256 bytes! If no then, what is the address after it's incremented?
|