Question 1
The immediate addressing mode can be used for
1. Loading internal registers with initial values
2. Perform arithmetic or logical operation on data contained in instructions
Which of the following is true?
Step-by-Step Solution
Detailed Explanation:
Immediate addressing mode specifies the operand value directly within the instruction.
Statement 1 is true: It is commonly used to load constants or initial values into registers (e.g., MOV R1, #5).
Statement 2 is true: It allows arithmetic/logical operations directly with immediate constants (e.g., ADD R1, #10).
Therefore, both 1 and 2 are true.