Re:Rust on the MOS 6502: Beyond Fibonacci
by retrac on Tuesday September 21, 2021 @12:00PM
(#28606425)
The main way to do pointer indirection (without self-modifying code) is to use the zeropage-specific indirect addressing modes, which use a 2-byte address stored in zero page as a pointer to a byte in memory. (And on the original 6502, the only available addressing modes for this forced you to use the X or Y register as an index, so you had to set it to 0 first!)
[ Parent
| on HN ]
There are no comments on this comment yet.