An instruction is stored at location 500 with its address field at location 501. The address field has the value 300. A processor register R1 contains the number 100. Evaluate the effective address if the addressing mode of the instruction is 6m Dec2005
(i) Direct
(ii) Relative
(iii) Register indirect
(iv) Index with R1 as lndex register
Make suitable assumptions if any
An instruction is stored in memory at an address designated by the symbol W. The address field of the instruction (stored at W +1) is designated by the symbol Y. The operand used during the execution of the instruction is stored at an address symbolized by z. An index register contains the value X. State how Z is calculated from other addresses if the addressing of the instruction is
- Direct
- Indirect
- Relative
- Indexed
An instruction is stored at location 300 with its address field at location 301. The address field has the value 400. A processor register R1 contains the number 200. Evaluate the effective address if the addressing mode of the instruction is 6m Dec2005
(i) Direct
(ii) Relative
(iii) Register indirect
(iv) Index with R1 as lndex register
Similarly