Re: POINTER (What is it ) ?
Posted by Minoshi on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/POINTER-What-is-it-tp4032444p4032446.html
so basically it is just a value in a register that is interpreted as address of some other register .?
......BELOW is the code you posted..........
@x // Stores in register A the address of x
D=A
@0
M=D
now register 0 has value x in it .So how can i get the data stored in Register x using register 0 . This is what pointer application is right .?
Thank you for answering ivant.