Exercise 2: Tracing (zp),Y's Effective Address — Possible Solution ==================================================================== GIVEN ------------------------------ Zero page address $10 holds the byte $00 Zero page address $11 holds the byte $30 Y = $05 Instruction: LDA ($10),Y APPLYING THE (ZP),Y FORMULA ------------------------------ Per this chapter's own explanation, (zp),Y works in two steps: 1. Read the 16-bit pointer stored starting at the zero-page address given in the instruction ($10 here) — the low byte comes from $10 itself, and the high byte comes from the next address over, $11. Low byte (from $10) = $00 High byte (from $11) = $30 Combined, the pointer value is $3000. 2. Add Y to that pointer VALUE (not to the zero-page address $10 itself) to get the final effective address: effective address = pointer value + Y = $3000 + $05 = $3005 RESULT ------------------------------ LDA ($10),Y reads from effective address $3005. WHY THIS WORKS AS AN ANSWER ------------------------------ It correctly reads the pointer's low and high bytes from the right zero-page locations ($10 and $11, not just $10 alone), correctly combines them into the full 16-bit pointer value $3000, and correctly adds Y to the POINTER VALUE rather than mistakenly adding Y to the zero-page address $10 itself — the exact distinction that separates (zp),Y from the different (zp,X) mode the chapter also describes.