Anda di halaman 1dari 2

Consider the sequence of 8085 instruction given

below
LXI H, 9258H
MOV A, M
CMA
MOV M, A
By this sequence of instruction the contents of
memory location
(A) 9258H are moved to the accumulator
(B) 9258H are compared with the contents of the accumulator
(C) 8529H are complemented and stored at location
529H
(D) 5829H are complemented and stored at location
85892H
15. Consider the sequence of 8085 instruction
MVI A, 5EH
ADI A2H
MOV C, A
HLT
The initial contents of resistor and flag are as
follows
A C S Z CY
__ __ 0 0 0
After execution of the instructions the contents of
register and flags are
A C S Z CY

(A) 10H 10H 0 0 1


(B) 10H 10H 1 0 0
(C) 00H 00H 1 1 0
(D) 00H 00H 0 1 1
16. It is desired to multiply the number 0AH by 0BH
and store the result in the accumulator. The numbers
are available in register B and C respectively. A part of
the 8085 program for this purpose is given below :
MVI A, 00H
LOOP : ---------------------------------------------------------------------------HLT
END
The sequence of instruction to complete the
program would be
(A) JNZ LOOP
ADD B
DCR C

Anda mungkin juga menyukai