Indirect addressing LMC

34 Views Asked by At

I would like to know how do I get access to the data contained at a specific address given that the address has been stored as a data at another address in a variable (sort of indirect addressing) in little man computer (lmc)?

I was thinking of doing LDA twice, for instance LDA temp (to have the address that I want) then I need to do LDA of that address to get the data stored there. However, it is not working.

get  LDA temp
     LDA get
0

There are 0 best solutions below