Assignment 1 PDF
Assignment 1 PDF
Assignment 1 PDF
Question-1: If [CS]=348AH, [IP]=4214H, then the 20-bit physical address from which the code is
accessed will be
(A) 455CAH (B) 0769EH (C) 390B4H (D) 38AB4H
Correct Answer: D
Detailed Solution: Effective address= Base address of CS register X 10H + Address of IP
= 348AH X 10H + 4214H
= 38AB4H
Question-3: In order to read a word from the memory location 5000AH in a single bus cycle, the status of
the 8086 signals A0 and BHE should be
(A) A0 0, BHE 0
(B) A0 0, BHE 1
(C) A0 1, BHE 0
(D) A0 1, BHE 1
Correct Answer: A
̅̅̅̅̅̅ = 0 is used as a memory enable signal
Detailed Solution: As a word is to be read from the memory, 𝐵𝐻𝐸
and the memory location 5000AH is even, A0 = 0 for even address.
NPTEL Online Certification Course
Microprocessors and Interfacing
Assignment 1: Detailed Solution
Indian Institute of Technology Guwahati
= 20050H
After the execution of MOV CL,[BX] which copies the contents of the memory at address
BX to CL, the contents of CX will be 5008H.
Question-5: Before the execution of POP instruction the stack pointer points to FFFFH. The contents of
the stack pointer after execution of POP instruction will be
(A) FFFFH (B) 0000H (C) 0001H (D) 0002H
Correct Answer: C
Detailed Solution: After the execution of POP instruction, the stack pointer is automatically incremented
by 2 to point to the next word on the stack.
Question-6: If [AL]=35H and [BL]=39H, after the execution of the following instructions
ADD AL, BL
AAA
the contents of AL will be
Question-8: The WAIT instruction causes the 8086 to enter into ideal state until
(A) The LOCK pin is made LOW
(B) The LOCK pin is made HIGH
(C) The TEST pin is made LOW
(D) The TEST pin is made HIGH
Correct Answer: C
Detailed Solution: If the TEST pin is Low, execution continues otherwise the processor waits in an "idle"
state.
Question-9: If [AX]=009BH, after the execution of CBW instruction the contents of AX will be
(A) 009BH (B) FF9BH (C) 0000H (D) 9B9BH
Correct Answer: B
Detailed Solution: CBW converts the signed value in the AL register into an equivalent 16 bit signed value
in the AX register by duplicating the sign bit to the left. This instruction copies the sign (bit 7) in the source
operand into every bit in the AH register.
Correct Answer: C
Detailed Solution: ALE is a minimum mode signal.