The advantage of _______ is that it can reference memory without paying the price of having a full memory address in the instruction.
Register Indirect addressing
In register indirect addressing the instruction names a register, and that register holds the memory address of the operand.
Only a short register number is stored in the instruction, yet the operand is still in memory, so a full memory address field is avoided.
Direct and indexed addressing carry a full address or displacement, and register addressing does not reference memory at all.
Hence, Register Indirect addressing.
What will be the hexadecimal value in the register ax (32-bit) after executing the following instructions ?
mov al, 15
mov ah, 15
xor al, al
mov cl, 3
shr ax, cl
Codes :
Which of the following are not data manipulation instructions?
A. Call
B. Loud
C. And
D. Increment
E. Shift
Choose the correct answer from the options given below:
The _____ addressing mode is similar to register indirect addressing mode, except that an offset is added to the contents of the register. The offset and register are specified in the instruction.
Match the following :
| Addressing Mode | Location of operand | ||
|---|---|---|---|
| a. | Implied | i. | Registers which are in CPU |
| b. | Immediate | ii. | Register specifies the address of the operand. |
| c. | Register | iii. | Specified in the register |
| d. | Register Indirect | iv. | Specified implicitly in the definition of instruction |
Codes :
Consider the following program fragment in assembly language:
mov ax, 0h
mov cx, 0A h
doloop:
dec ax
loop doloop
What is the value of ax and cx registers after the completion of the doloop?
The following language uses mnemonic OP codes