0% found this document useful (0 votes)
7 views6 pages

8086 Microprocessor Programming Exam Sets

Uploaded by

homkarpranav7
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

8086 Microprocessor Programming Exam Sets

Uploaded by

homkarpranav7
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MICROPROCESSOR PROGRAMMING (314321)

4 SMART QUESTION PAPER SETS (MSBTE STYLE – PLAIN FORMAT)


3 Hours / 70 Marks
------------------------------------------------------------

===========================
SET – 1
===========================
1. Attempt any FIVE: (10 Marks)
a) List any four applications of 8086 microprocessor.
b) State purpose of segment registers.
c) List any four data transfer instructions of 8086.
d) Define macro and write its format.
e) Describe “effective address” with example.
f) State function of INTR and NMI pins.
g) ALP to subtract two 8-bit numbers.

2. Attempt any THREE: (12 Marks)


a) Explain memory segmentation with diagram.
b) Explain assembler directives: DB, DW, END, ORG.
c) Explain any four logical instructions.
d) ALP to add two BCD numbers using DAA.

3. Attempt any THREE: (12 Marks)


a) Explain pipelining of 8086 with diagram.
b) ALP to calculate sum of 5 hexadecimal numbers.
c) ALP to find smallest from array of 5 elements.
d) Compare NEAR and FAR procedures.

4. Attempt any THREE: (12 Marks)


a) Differentiate minimum and maximum mode.
b) ALP to multiply two 8-bit unsigned numbers.
c) ALP for block transfer of 10 bytes.
d) Describe recursive procedure.
e) Explain macro with parameters.

5. Attempt any TWO: (12 Marks)


a) Define logical & physical address. Compute PA for CS=4120H, IP=2F30H.
b) Explain directives: DD, DUP, EQU, SEGMENT, ASSUME, ENDS.
c) Write instructions for:
i) Move 2500H to DS
ii) Multiply AL by 08H
iii) Subtract BX from AX
iv) Unsigned divide AX by CL
v) RCR AL by 3 bits
vi) Load SP with 9000H

6. Attempt any TWO: (12 Marks)


a) Explain ADC and CMP instructions.
b) Identify addressing modes for:
MOV AX,2000H
MOV AL,[BX]
ADD AL,[SI]
MOV CX,[1234H]
SUB AL,[BX+SI]
MOV AX,[BP+06H]

c) ALP using MACRO for Z = (A – B) + (C × D)

------------------------------------------------------------

===========================
SET – 2
===========================
1. Attempt any FIVE: (10 Marks)
a) List any four salient features of 8086.
b) State any four arithmetic instructions.
c) Define procedure and its syntax.
d) List any four addressing modes.
e) Explain flag register.
f) Functions of pins TEST and READY.
g) ALP to add two 16-bit numbers.

2. Attempt any THREE: (12 Marks)


a) Explain BIU and EU with diagram.
b) Explain TASM/MASM assembly process.
c) Explain rotate & shift instructions.
d) ALP to subtract two BCD numbers.

3. Attempt any THREE: (12 Marks)


a) Explain instruction queue.
b) ALP to find largest in an array.
c) ALP for sum of series of 10 numbers.
d) Compare macro & procedure.

4. Attempt any THREE: (12 Marks)


a) Min vs Max mode.
b) ALP for signed multiplication.
c) ALP for string reverse.
d) Explain re-entrant procedure.
e) Explain macro expansion.

5. Attempt any TWO: (12 Marks)


a) Physical address: CS=1A20H, IP=30F0H.
b) Explain directives: DB, DW, ORG, END, PUBLIC, EXTRN.
c) Write instructions:
MOV AX,5555H
ADD AL,20H
MUL BL
DIV CL
SHL AX,1
MOV SS,3000H

6. Attempt any TWO: (12 Marks)


a) Explain DAS and TEST instructions.
b) Identify addressing modes:
MOV AL,34H
MOV AX,[BP]
ADD AL,[BX+4]
MOV BX,[SI]
MOV DX,[BX+SI]

c) ALP macro for Z = (A + B) – (C + D)

------------------------------------------------------------

===========================
SET – 3
===========================
1. Attempt any FIVE: (10 Marks)
a) List register groups of 8086.
b) Define physical memory organization.
c) List any four logical instructions.
d) Explain DUP directive.
e) Define IP and SP registers.
f) Explain ALE and BHE signals.
g) ALP to increment 8-bit number.

2. Attempt any THREE: (12 Marks)


a) Explain register organization of 8086.
b) Explain program development steps.
c) Explain conditional jump instructions.
d) ALP to add array of 5 bytes.

3. Attempt any THREE: (12 Marks)


a) Explain pipelined execution cycle.
b) ALP to find average of 5 numbers.
c) ALP to count even/odd numbers in array.
d) Compare CALL and RET.

4. Attempt any THREE: (12 Marks)


a) Compare immediate & direct addressing mode.
b) ALP to divide two 8-bit numbers.
c) ALP for string comparison.
d) Explain recursive macro.
e) Describe assembler and linker.

5. Attempt any TWO: (12 Marks)


a) Compute physical address: CS=2500H, IP=1F20H.
b) Explain directives: ASSUME, ENDS, STRUCT, PROC, ENDP.
c) Write instructions:
MOV DS,3000H
ADD AX,1234H
MUL CL
IDIV BL
ROL AL,2
MOV SP,7000H

6. Attempt any TWO: (12 Marks)


a) Explain DAA and NEG instructions.
b) Identify addressing modes:
MOV DL,[BP+6]
MOV AL,20H
ADD AX,[BX]
MOV CX,[BX+DI]
SUB [SI],AL
c) Macro ALP for Z = (A × B) + (C – D)

------------------------------------------------------------

===========================
SET – 4
===========================
1. Attempt any FIVE: (10 Marks)
a) List any four functions of BIU.
b) Define logical address.
c) List any four branching instructions.
d) Explain EQU directive.
e) State use of DX register.
f) Explain QS and QS1 signals.
g) ALP to clear contents of AL.

2. Attempt any THREE: (12 Marks)


a) Explain minimum mode signals.
b) Explain memory segmentation advantages.
c) Explain flag manipulation instructions.
d) ALP to subtract array of 5 bytes.

3. Attempt any THREE: (12 Marks)


a) Explain execution unit in detail.
b) ALP for factorial.
c) ALP to reverse array.
d) Compare maskable & non-maskable interrupts.

4. Attempt any THREE: (12 Marks)


a) Direct vs indirect addressing modes.
b) ALP for unsigned division.
c) ALP for block copy using string instructions.
d) Explain nested procedures.
e) Explain macro flow.

5. Attempt any TWO: (12 Marks)


a) Physical address: CS=3A10H, IP=0F50H.
b) Explain directives: EVEN, LABEL, OFFSET, SEGMENT.
c) Write instructions:
ADD BL,25H
MOV AX,4000H
MUL DL
DIV AL
RCR AX,1
MOV BP,9000H

6. Attempt any TWO: (12 Marks)


a) Explain CMP and STC instructions.
b) Identify addressing modes:
MOV AL,[BX+SI]
MOV DX,1000H
ADD AL,[BP]
MOV BX,[SI+06H]
SUB CX,[BX]

c) Macro ALP for Z = (A + B) × (C + D)

------------------------------------------------------------
END OF ALL FOUR SETS

You might also like