a094mMPMC Multiple Choice Questions
a094mMPMC Multiple Choice Questions
Architecture of Microprocessors
d) During subtraction
19. The advantage of memory mapped I/O over I/O mapped I/O is,
a) Faster
b) Many instructions supporting memory mapped I/O
c) Require a bigger address decoder
d) All the above
20. BHE of 8086 microprocessor signal is used to interface the
a) Even bank memory
b) Odd bank memory
c) I/O
d) DMA
21. In 8086 microprocessor the following has the highest priority among all type
interrupts.
a) NMI
b) DIV 0
c) TYPE 255
d) OVER FLOW
22. In 8086 microprocessor one of the following statements is not true.
a) Coprocessor is interfaced in MAX mode
b) Coprocessor is interfaced in MIN mode
c) I/O can be interfaced in MAX / MIN mode
d) Supports pipelining
23. 8088 microprocessor differs with 8086 microprocessor in
a) Data width on the output
b) Address capability
c) Support of coprocessor
d) Support of MAX / MIN mode
24. Address line for TRAP is?
a) 0023H b) 0024H c) 0033H
Key:
1.1 C 1.2 C 1.3 C 1.4 B 1.5 B 1.6 B
1.7 A 1.8 B 1.9 A 1.10 C 1.11 B 1.12 B
1.13 A 1.14 C 1.15 B 1.16 C 1.17 C 1.18 B
1.19 D 1.20 B 1.21 A 1.22 B 1.23 A 1.24 B
Microprocessors and Microcontrollers/Assembly language of 8086 Multiple Choice Questions
1. The contents of different registers are given below. Form Effective addresses for
different addressing modes are as follow :
Offset = 5000H
[AX]- 1000H, [BX]- 2000H, [SI]- 3000H, [DI]- 4000H, [BP]- 5000H,
[SP]- 6000H, [CS]- 0000H, [DS]- 1000H, [SS]- 2000H, [IP]- 7000H.
I. MOV AX, [5000H]
a) 5000Hb) 15000H c) 10500H
II. MOV AX, [BX] [SI]
a) 13000H b) 15000H c) 12000H
III. MOV AX, 5000H [BX] [SI]
a) 20000H b) 1A000H c) 1A00H
2. The conditional branch instruction JNS performs the operations when if __
a) ZF =0 b) SF=0 c) PF=0 d) CF=0
3. Vector address of TRAP
a) 24H b) 36H c) 24 d) 18H
4. SOD pin can drive a D flip-flop?
a) SOD cannot drive any flip-flops.
b) SOD cannot drive D flip-flop, but can drive any other flop-
flops. c) Yes, SOD can drive D flop-flop.
d) No, SOD cannot drive any other flop-flops except D flop-flop.
5. IDIV and DIV instructions perform the same operations for?
a) Unsigned number b) Signed number c) Signed number & Unsigned number d)
none of above.
6. What is the output of the following code
AL=88 BCD, CL=49 BCD
ADD AL, CL
DAA
a) D7, CF=1 b) 37, CF=1 c) 73, CF=1 d) 7D, CF=1
7. What is the output of the following code
AL= 49 BCD, BH= 72 BCD
SUB AL, BH
DAS
a) AL=D7, CF=1. b) AL=7D, CF=1. c) AL=77, CF=1 d) none of them.
8. What is the output of the following code
AL= -28 decimal, BL=59 decimal
IMUL BL
AX=? , MSB=?
a) AX= F98CH, MSB=1. b) AX= 1652, MSB=1. c) BX F9C8H, MSB=1. d)
BX= 1652, MSB=1.
9. What is the output of the following code
AL= 00110100 BL= 00111000
ADD AL, BL
AAA
a) AL = 6CH b) 12H c) 12 d) C6H
10. What is the output of the following
code AL=00110101 BL= 39H
Microprocessors and Microcontrollers/Assembly language of 8086 Multiple Choice Questions
SUB AL, BL
AAS
a) AL= 00000100, CF=1 b) BL=00000100, CF=0 c) AL=11111100 CF=1 d)
BL= 00000100, CF=1
11. What is the output of the following code
CF =0, BH = 179
RCL BH, 1
a) CF=0, OF= 1, BH= 01100101 b) CF=1, OF=1, BH=01100110
c) CF=1, OF =0, BH= 01001101 d) CF=0, OF=0, BH=00101100
12. What is the output of the following code
SI=10010011 10101101, CF=0
SHR SI, 1
a) 37805, CF=1, OF=1 b) 18902, CF=1, OF=1
c) 19820, CF=1, OF=1 c) 53708, CF=1, OF=1
13. What is the output of the following code
BX=23763CL=8
ROL BX, CL
a) 0101110011010011, CF=0 b) 1101001101011100, CF=0
c) 0110100010011101, CF=1 c) 1011100110001100, CF=1
14. What is the output of the following
code PUSH AL
a) Decrement SP by 2 & push a word to
stack b) Increment SP by 2 & push a
word to stack c) Decrement SP by 2 &
push a AL to stack d) Illegal
15. What is the output of the following code
AX = 37D7H, BH = 151 decimal
DIV BH
a) AL = 65H, AH= 94 decimal
b) AL= 5EH, AH= 101 decimal
c) AH= E5H, AL= 5EH
d) AL= 56H, AH= 5EH
16. In 8086 microprocessor one of the following instructions is executed
before an arithmetic operation
a) AAM b) AAD c) DAS d) DAA
Key:
2.1 (I) B (II) C (III) B 2.2 B 2.3 A 2.4 C 2.5 B
2.6 B 2.7 C 2.8 A 2.9 C 2.10 A 2.11 B
2.12 B 2.13 B 2.14 D 2.15 B 2.16 B
Microprocessors and Microcontrollers/Interfacing with 8086 Multiple Choice Questions
Key:
3.1 B 3.2 A 3.3 C 3.4 B 3.5 D 3.6 C
3.7 A 3.8 B 3.9 B 3.10 B 3.11 A
3.12 C 3.13 C 3.14 A 3.15 D
Microprocessors and Microcontrollers/Coprocessor Multiple Choice Questions
1. The coprocessors operate in ______ with a processor on the same buses and with
the same instruction _______.
a) Parallel, byte stream. b) Series, byte stream.
c) Series, bite stream d) Parallel, bite stream.
2. Why 8087 is referred to as Coprocessor?
i) Because 8087 is used in parallel with main processor in a system, rather than
serving as a main processor itself.
ii) Because 8087 is used in serial with main processor in a system, rather than
serving as a main processor itself.
iii) Because main Microprocessor handles the general program execution and
the 8087 handles specialized math computations.
a) i & iii b) ii & iii c) iii only. d) i only.
3. 8087 connection to 8086, to enable the _________ bank of memory _______pins
are to be connected.
a) Lower, BHE b) Upper, BHE c) Lower, INT
d) Upper, INT.
4. ___ Connection and the _______ instruction will solve the problem
of synchronization between processor and coprocessor.
a) INT & NMI, WAIT b) RQ/GT0 & RQ/GT1, FWAIT
c) BUSY & TEST, FWAIT d) S0 & QS0, WAIT
5. _______ input is available, so that another coprocessor can be connected and
function in _________ with the 8087. .
a) RQ/GT0, parallel b) RQ/GT1, parallel c) QS1 & QS0, parallel
d) S0 & S1, parallel.
6. In 8087, _______ many register stack are there? And of _____ registers.
These registers are used as _________ stack.
a) 7, 40 bit, FIFO. b) 8, 60 bit, LILO. c) 8, 80 bit, LIFO d) 7, 80 bit, FILO.
7. If ______ and ________ connections are made so that an error condition in
8087 can interrupt to the processor.
a) BHE, RQ/GT1 b) BUSY, TEST c) INT, NMI d) RQ/GT0, RQ/GT1
8. In 8087, which instruction is used for division real reversed______.
a) FDIV b) FIDIVR c) FDIVR d) FDIVRP
9. Which of the following is of compare instruction in 8087?
a) FTST b) FPREM c) FPATAN d) FLDI
10. In 8087 coprocessor one of the following instructions is not valid
a. FSIN
b. FPTAN
c. FIDIV
d. FSQRT
11. One of the following signals belongs to the 8087 coprocessor is
a. HOLD
b. BUSY
c. TEST
d. NMI
Key:
4.1 A 4.2 A 4.3 B 4.4 A 4.5 B 4.6 C
4.7 C 4.8 C 4.9 A 4.10 A 4.11 C