Which of the following in 8085 microprocessor performs HL = HL + DE ?
DAD D
In the 8085, DAD rp (Double ADd) adds the 16-bit contents of the named register pair to the HL pair and leaves the result in HL; only the carry flag is affected. The register pair is named by its high-order register: B for BC, D for DE, H for HL, and SP for the stack pointer.
To get HL = HL + DE the operand must be the DE pair, which is written D, so the instruction is DAD D.
DAD H computes HL = HL + HL (doubling HL), DAD B computes HL = HL + BC, and DAD SP computes HL = HL + SP; none of them adds DE.
DAD D option is correct.
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 ?
The RST 7 instruction in 8085 microprocessor is equivalent to :
8085 microprocessor has _____ hardware interrupts.
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