In 8085, which of the following performs : load register pair immediate operation ?
LXI rp, data
In the 8085 opcodes, the data-transfer instructions that work on 16-bit register pairs (BC, DE, HL, SP) have their own mnemonics. 'Immediate' means the 16-bit data is part of the instruction itself.
LXI rp, data16 is 'Load register pair Immediate': it is a 3-byte instruction that loads the 16-bit data given in bytes 2 and 3 into the specified register pair, e.g. LXI H, 2050H puts 20H in H and 50H in L.
LDAX rp loads the accumulator indirectly from the memory location whose address is in register pair B or D, so it is not an immediate load of a register pair. LHLD addr loads H and L directly from two consecutive memory locations given by a 16-bit address, which is direct addressing. INX rp only increments the contents of a register pair by one and loads no data.
LXI rp, data 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
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