Given the instruction C1 F2 1C, what is the addressing mode?
A. Immediate
B. Direct
C. Stack Relative
D. Indexed
Solution:
B. Direct
Explanation:
C1 F2 1C
Binary of this instruction:
1100 - 0001 - 1111 - 0010 - 0001 - 1100
in assembly to know the addressing mode:
1100 - raaa - 1111 - 0010 - 0001 - 1100
aaa = 001 -> addressing mode = Direct
Note: you can refer the following image for the reference:
Please give thumbsup, if you like it. Thanks.
Get Answers For Free
Most questions answered within 1 hours.