The RST 7 instruction in 8085 microprocessor is equivalent to :
CALL 0038 H
In the 8085, a restart instruction RST n is a one-byte call to the fixed vector address \(8 \times n\).
Vector \(= 8 \times 7 = 56_{10} = 38_{16}\)
So RST 7 pushes the return address and jumps to 0038 H, exactly like a CALL to that address.
The addresses 0034 H and 003C H belong to the hardware interrupts RST 6.5 and RST 7.5, and 0010 H is the vector of RST 2.
Check: RST 0 maps to 0000 H and each step adds 8, so RST 7 maps to 0038 H.
Hence, CALL 0038 H.
Match the following 8085 instructions with the flags :
| List – I | List – II | ||
| a. | XCHG | i. | only carry flag is affected. |
| b. | SUB | ii. | no flags are affected. |
| c. | STC | iii. | all flags other than carry flag are affected. |
| d. | DCR | iv. | all flags are affected. |
Codes :
a b c d
How many times will the following loop be executed ?
LXI B, 0007 H
LOP : DCX B
MOV A, B
ORA C
JNZ LOP
Specify the contents of the accumulator and the status of the S, Z and CY flags when 8085 microprocessor performs addition of 87 H and 79 H.
One of the main features that distinguish microprocessor from micro-computers is
What will be the output at PORT1 if the following program is executed ?
MVI B, 82H
MOV A, B
MOV C, A
MVI D, 37H
OUT PORT1
HLT
Which of the following 8085 microprocessor hardware interrupt has the lowest priority ?
In 8085 microprocessor, the digit 5 indicates that the microprocessor needs
In 8085, which of the following performs : load register pair immediate operation ?
8085 microprocessor has _____ hardware interrupts.
Which of the following in 8085 microprocessor performs
HL = HL + DE ?
The magnetic vector potential of an electromagnetic system is given by $ \vec{A}=(y \cos ax) \vec{a_x} + (y+e^x) \vec{a_z}$. The magnitude of the magnetic flux density at the origin is