Status: Tags: Links: HACK Programming
HACK Pointers
For Loops
Pointers
Store memory adresses
- Set the adress of the array to a
- Change adress register to the value retrieved from memory
- Set n as the desired numer
- Set i as index
Logic and Semantics
- Needs an instruction like A=M
- set the adress register to the contents of some memory register
References: