Given the following memory values and a one-address machine with an accumulator, how would I find what values do the each of the following instructions load into the accumulator?
Memory Values:
Word 20 contains 40.
Word 30 contains 50.
Word 40 contains 60.
Word 50 contains 70.
Addressing Modes:
a. LOAD IMMEDIATE 20
b. LOAD DIRECT 20
c. LOAD INDIRECT 20
I am very much confused on how I would determine what the values would be in each case/mode. Please show me step by step how I would find the values for each of the modes. For immediate, would the value be 40, since 20 contains 40? Thanks in advance.