The RST 7 instruction in 8085 microprocessor is equal to
2015
The RST 7 instruction in 8085 microprocessor is equal to
- A.
CALL 0010 H
- B.
CALL 0034 H
- C.
CALL 0038 H
- D.
CALL 003C H
Attempted by 406 students.
Show answer & explanation
Correct answer: C
Answer: CALL 0038 H
Reason: For the 8085, the restart instruction RST n jumps to the fixed vector address equal to n × 8 (decimal).
Step 1: Compute 7 × 8 = 56 (decimal).
Step 2: Convert 56 decimal to hexadecimal: 56 = 0x38.
Step 3: Therefore RST 7 corresponds to the call to address 0038H, i.e., CALL 0038H.
Quick reference: RST vectors are at addresses 0x00, 0x08, 0x10, 0x18, 0x20, 0x28, 0x30, and 0x38 for RST 0 through RST 7 respectively.