ISRO Scientist/Engineer CSE 2020Computer Organization and Architecture › Instruction Set and Addressing Modes
ISRO Scientist/Engineer CSE 2020 PYQ: The immediate addressing mode can be used for Loading internal registers with initial values Perform…
The immediate addressing mode can be used for
- Loading internal registers with initial values
- Perform arithmetic or logical operation on data contained in instructions
Which of the following is true?
- AOnly 1
- BOnly 2
- CBoth 1 and 2Correct answer
- DImmediate mode refers to data in cache
Answer
(C) Both $1$ and $2$
Approach
Immediate addressing mode embeds the operand directly in the instruction. It is used both to load registers with constant initial values and to perform arithmetic/logical operations with constant data. Therefore both statements 1 and 2 are true.
Reviewed by ISRO IQ Editorial Team.