0% found this document useful (0 votes)
2 views

Unitwise QB (2)

The document is a chapter-wise question bank for the Microprocessor Programming course at Vidya Pratishthan’s Polytechnic College, covering various units related to the 8086 microprocessor. It includes remembrance, understanding, and analysis-oriented questions across five units, focusing on topics such as assembly language programming, instruction sets, and procedures. Each unit contains specific questions aimed at assessing knowledge and skills related to microprocessor programming.
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)
2 views

Unitwise QB (2)

The document is a chapter-wise question bank for the Microprocessor Programming course at Vidya Pratishthan’s Polytechnic College, covering various units related to the 8086 microprocessor. It includes remembrance, understanding, and analysis-oriented questions across five units, focusing on topics such as assembly language programming, instruction sets, and procedures. Each unit contains specific questions aimed at assessing knowledge and skills related to microprocessor programming.
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
You are on page 1/ 5

Vidya Pratishthan’s

Polytechnic College, Indapur


Record No.:
Revision: 00 DoI: 01/03/2024
ACAD/R/40
Chapter wise Question Bank/List of Assignments

UNIT NO. -01


8086-16 Bit Microprocessor
Name of Program: Computer Engineering Sem. & Scheme: 4K
Name of Course & its Code: Microprocessor Programming (314321)

Remembrance oriented questions: (2M)


1. State the function of ALE and Ready pin of 8086.
2. What is stack? state its significance.
3. State the function of BHE and A0 pins of 8086.
4. Draw the labelled format of 8086 flag register.
5. State the function of READY and INTR pin of 8086

Understanding oriented questions: (4M)


1. What is pipelining? How it improves the processing speed?
2. Describe Memory segmentation in 8086 and list its advantages.
3. Draw and explain the flag register of 8086.
4. Explain the concept of pipelining in 8086. State the advantages of pipelining (any
two).
5. How single stepping or tracing is implemented in 8086?
6. Explain memory segmentation in 8086 and list its advantages. (any two)
7. Describe mechanism for generation of physical address in 8086 with suitable
example.
8. Describe how 20 bit Physical address is generated in 8086 microprocessor with
suitable example.
9. Describe memory segmentation in 8086 with suitable diagram.
10. Write the function of following pins of 8086 :
(i)BHE
(ii) ALE
(iii) READY
(iv) RESET
Analysis oriented questions: (6M)
1. Define logical and effective address. Describe physical address generation process in
8086.Calculate physical address by taking suitable DS, CS and IP.
2. Draw architectural block diagram of 8086 and describe its register organization.
3. Calculate the physical address if :
(i) CS = 1200H and IP = DE00H
(ii) SS = FF00H and SP = 0123H
(iii) DS = 1F00H and BX = 1A00H for MOV AX, [BX]
Vidya Pratishthan’s
Polytechnic College, Indapur
Record No.:
Revision: 00 DoI: 01/03/2024
ACAD/R/40
Chapter wise Question Bank/List of Assignments

UNIT NO. -02


The Art of Assembly LanguageProgramming

Name of Program: Computer Engineering Sem. & Scheme: 4K


Name of Course & its Code: Microprocessor Programming (314321)

Remembrance oriented questions: (2M)


1. List the major steps in developing an Assembly language program.
2. Draw the flowchart for Multiplication of two 16-bit numbers.
3. State the function of editor and assembler.
4. List assembly language programming tools.
5. State the role Debugger in assembly language programming.
Understanding oriented questions: (4M)

1. State the Assembler Directives used in 8086 programming and describe the
function of any two.
2. Explain any two assembler directives of 8086.
3. Describe any four assembler directives with suitable example.

Analysis oriented questions: (6M)

1. Describe how an assembly language program is developed and debugged using


system tools such as editors, assemblers, linkers and debuggers.
2. Demonstrate in detail the program development steps in assembly language
programming.

UNIT NO. -03


Instruction Set of 8086 Microprocessor

Name of Program: Computer Engineering Sem. & Scheme: 4K


Name of Course & its Code: Microprocessor Programming (314321)

Remembrance oriented questions: (2M)


1. What is the use of REP in string related instruction?
2. What is the role TEST instruction in Assembly language programming?
3. State any two differences between TEST and AND instructions.
4. Define immediate addressing mode with suitable example.
5. State the use of DAA instruction in BCD addition.
6. What is role of XCHG instruction in assembly language program? Give example
7. Draw machine language instruction format for Register-to-Register transfer.
Vidya Pratishthan’s
Polytechnic College, Indapur
Record No.:
Revision: 00 DoI: 01/03/2024
ACAD/R/40
Chapter wise Question Bank/List of Assignments

8. State the use of STC and CMC instruction of 8086.


9. List any four instructions from the bit manipulation instructions of 8086.
10. State the use of DAA instruction in BCD addition.
11. State any two difference between TEST and AND instructions.

Understanding oriented questions: (4M)

1. Write classification of instruction set of 8086. Explain any one type out of
them.
2. Illustrate the use of any three branching instructions.
3. Describe DAS instruction with suitable example.

Analysis oriented questions: (6M)

1. Describe any six Addressing modes of 8086 with suitable example.


2. With examples, describe any four String instructions in 8086 assembly
language.
3. Describe how string instructions are used to compare two strings with suitable
example.
4. Select the instruction for each of the following
i)Rotate register BH left 4 times.
ii)Multiply AL by 08H.
iii)Signed division of BL and AL.
iv)Move 4000H in BX register.
v)Load offset 1000H in register BX.
vi)Rotate BX to left 4 times through carry.
5. Select an appropriate instruction for each of the following & write:
i)Rotate the content of DX to write 2 times without carry
ii)Multiply content of AX by 06H
iii)Load 4000H in SP register
iv)Copy the contents of BX register to CS
v)Signed division of BL and AL
vi) Rotate AX register to right through carry 3 times.
6. State the addressing mode of following instructions:
(i) MOV AX, 3456H
(ii) ADD BX, [2000H]
(iii) DAA
(iv) MOV AX, [Si]
(v) MOV AX, BX
(vi) SUB AX, [BX + SI + 80H]
7. Write an instruction to perform following operations:
Vidya Pratishthan’s
Polytechnic College, Indapur
Record No.:
Revision: 00 DoI: 01/03/2024
ACAD/R/40
Chapter wise Question Bank/List of Assignments

(i) Multiply BL by 88H


(ii) Signed division of AL by BL
(iii) Move 4000H to DS register
(iv) Rotate content of AX register to left 4 times.
(v) Shift the content of BX register to right 3 times.
(vi) Load SS with FF00H.

UNIT NO. -04


Assembly Language Programming

Name of Program: Computer Engineering Sem. & Scheme: 4K


Name of Course & its Code: Microprocessor Programming (314321)

Remembrance oriented questions: (2M)


1. Write an ALP to add two 8-bit numbers.

Understanding oriented questions: (4M)

1. Write an ALP to perform 32 bit by 16-bit division of unsigned numbers.


2. Write an ALP to count number of ‘1’ in 16-bit number.
3. Write an ALP to count the number of positive and negative numbers in array.
4. Write an ALP to find the smallest number in the Array.
5. Write an ALP to count the number of positive and negative numbers in array.
6. Write an ALP to find the sum of series. Assume series of 10 numbers.
7. Write ALP to count ODD and EVEN numbers in an array.
8. Write ALP to perform block transfer operation of 10 numbers.
9. Write an ALP to arrange numbers in array in descending order.
10. Write an ALP to multiply two 16 bit signed numbers.
11. Write an ALP to find largest number in the array.
12. Write an ALP to count number of ‘0’ in 8 bit number.
13. Write an ALP to count odd numbers in the array of 10 numbers.

Analysis oriented questions: (6M)

1. Write an ALP for concatenation of two strings. Draw flowchart and assume
suitable data.
2. Write an ALP to concatenate two strings.
Vidya Pratishthan’s
Polytechnic College, Indapur
Record No.:
Revision: 00 DoI: 01/03/2024
ACAD/R/40
Chapter wise Question Bank/List of Assignments

UNIT NO. -05


Procedure and Macro

Name of Program: Computer Engineering Sem. & Scheme: 4K


Name of Course & its Code: Microprocessor Programming (314321)

Remembrance oriented questions: (2M)


1. Define Procedure and write its syntax.
2. Write any two differences between NEAR and FAR procedure.
3. Define Macro. Give syntax.
4. Define Macro & Procedure.

Understanding oriented questions: (4M)

1. Give the difference between Inter segment and Intra segment CALL.
2. Compare Procedure and macro based on i) length of code ii) generation of object
code iii) Calling method iv) Passing parameter.
3. Write an ALP for addition of two 8-bit BCD numbers using MACRO.
4. Write an ALP to subtract two BCD number using procedure.
5. Describe re-entrant and Recursive procedure with diagram.
6. With neat sketches demonstrate the use of re-entrant and recursive procedure.
7. Describe re-entrant and recursive procedure with suitable diagram.
8. Write a MACRO to perform 32 bit by 16 bit division of unsigned numbers.
9. Write ALP using procedure to solve equation such as Z= (A+B)*(C+D)
10. Write ALP using macro to perform multiplication of two 8 Bit Unsigned numbers.
11. Describe the directives used to define the procedure with suitable example.
Analysis oriented questions: (6M)

You might also like