Difference between Register Mode and Register Indirect Mode

Prerequisite – Addressing Modes

1. Register Mode :
In register addressing mode, the operand is placed in one of 8 bit or 16 bit general purpose register. The data is in the register that is specified by the instruction.


MOV R1, R2 

Instruction has register R2 and R2 has operand.

2. Register Indirect Mode :
In register indirect addressing mode, the address of operand is placed in any one of the registers. The instruction specifies a register that contains the address of the operand.


ADD R1, (R2) 

Instruction has register R2 and R2 has memory address of operand.

Difference between Register Mode and Register Indirect Mode :

Operand is placed in general purpose register. Operand’s offset is placed in one of the resgiters.
In register mode, address field contains the effective address of operand. In register indirect mode, address field contains reference of effective address.
It requires only one register reference to access data. It requires two register references to access data.
No further calculation is required to perform the operation. Require further calculation to find the effective address.
Register addressing mode is fast. register indirect addressing mode is slow.
It is easier to access the data in register mode. It is a bit complex to access the data in register indirect mode.
It uses temporary variables. It uses pointers.

Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.