Explain the registerdisplacement addressing mode What is PVr
Solution
There are various addressing modes. Some addressing modes are as follows-
Register Displacement addressing mode is used when a value is in a register. The register contains the value of the operand. The number of bits used to specify the register depends on the total number of registers from the processor set. No memory access is required for the operand specified in register mode.
Example: ADD R1, R2
means: R1 ----> R1 + R2 (Add contents of register R2 plus contents of register R1 and save the result in register R1)
Example: If you had a branch instruction at address 1000, then you\'ll jump somewhere near the branch instruction. Immediate B15-0 means The immediate value is only 16 bits, which means we can\'t address a large range of memory.
