To my retro techie tweeps: I'm looking at some of the "classic" 8-bit CPUs. I'm finding that the 8008 and 6800 families had a way to hold an arbitrary 16-bit address into registers (resp. HL and IX) but the 6502 didn't (zero-page is the closest substitute). Is that correct?
Yes, "indirect indexed" is the way to get access to an arbitrary 16 bit pointer. The two bytes for the pointer live in the zero page.
-
-
Got it. Now I understand the reasoning behind the combination of zero-page addressing and the unusually rich indirect addressings, especially (imm),Y which is otherwise unusual. Thanks for enlightening me!
-
Top top it off, I hadn't realized until right now that indirect addressing is only in zero-page. The intended purpose totally makes sense now.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.