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
82H
OUT PORT1 always sends the contents of the accumulator A to the addressed port.
MVI B, 82H loads B with 82H, and MOV A, B copies it into A, so A = 82H.
MOV C, A only copies A into C and MVI D, 37H only changes D, so A is still 82H when OUT executes.
37H is the value of D, not A, and B9H or 00H never appear in the accumulator.
Hence, 82H.
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
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 ?
The RST 7 instruction in 8085 microprocessor is equivalent to :
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