Vishweshwarayya Abhiyantriki Padvika Mahavidyalaya
Dilip Nagar, Almala Tq. Ausa Dist. Latur - 413556 (M.S.)
Approved AICTE New Delhi, Affiliated to MSBTE Mumbai.
Accreditated by National Board of Accreditation, New Delhi
Microprocessor (22415)
WORKBOOK
Mrs. Dharashive A. S.
Lecturer, (CO), VAPM ALMALA
Department of Computer Engineering MIC(22415)
Chapter 1 : 8086 16 bit Microprocessor
1. List any four features of 8086.
2. Draw and explain the pin diagram of 8086.
Page | 1
Department of Computer Engineering MIC(22415)
Page | 2
Department of Computer Engineering MIC(22415)
3. Draw architecture of 8086 microprocessor and state function of BIU unit.
Page | 3
Department of Computer Engineering MIC(22415)
4. Draw flag register format of 8086 and explain any 2 flags.
5. What is memory segmentation.
Page | 4
Department of Computer Engineering MIC(22415)
6. Calculate the physical address for given.
DS = 73A2H SI = 3216H
CS = 7370H IP = 561EH
Page | 5
Department of Computer Engineering MIC(22415)
7. Calculate the physical address for the given.
CS = 3420H, IP = 689AH.
8. State the concept of pipelining of 8086.
Page | 6
Department of Computer Engineering MIC(22415)
9. Compare maximum and minimum mode configuration of 8086. (any four points)
Page | 7
Department of Computer Engineering MIC(22415)
10. Difference between 8085 and 8086.
Page | 8
Department of Computer Engineering MIC(22415)
Chapter 2: Art of Assembly Language Programming
1. Explain the steps involved in program development.
Page | 9
Department of Computer Engineering MIC(22415)
2. Draw and explain program development process.
Page | 10
Department of Computer Engineering MIC(22415)
3. Define directives and explain any two directives
4. Describe the function of following directives.
DD
DB
DUP
EQU
Page | 11
Department of Computer Engineering MIC(22415)
5. Describe following assembler directives.
(i) ASSUME
(ii) SEGMENT
(iii)ENDS
Page | 12
Department of Computer Engineering MIC(22415)
6. Difference between Assembler Directive and Instructions (Any four).
Page | 13
Department of Computer Engineering MIC(22415)
CHAPTER 3: Instruction set of 8086 Microprocessor
1. Define addressing mode. List any two addressing mode of 8086 microprocessor.
2. Explain following addressing modes.
a. Immediate Addressing Mode
b. Direct Addressing Mode
3. Explain following addressing modes of 8086 with example Immediate addressing mode.
Page | 14
Department of Computer Engineering MIC(22415)
4. Identify the addressing mode of the following instructions.
i} MUL AL, BL
ii} MOV AX, BX
iii} MOV BX, [SI]
iv}MO V DX, 0040H
Page | 15
Department of Computer Engineering MIC(22415)
5. Identify the addressing mode used in following Instructions:
i} MOV DS, AX
ii} MOV AX, [4172H]
iii} ADD AX, [SI]
iv} ADD AX, [SI][BX][04]
Page | 16
Department of Computer Engineering MIC(22415)
6. Identify the addressing mode used in following Instructions:
i} MOV AX, 2034H
ii} MOV AL, [6000H]
iii} ADD AL, CL
iv} MOV AX, 50H [BX] [SI]
Page | 17
Department of Computer Engineering MIC(22415)
7. Explain the functions of following instruction with one example:
(1) XLAT
(2) LEA
(3)LAHF
(4)ROR
Page | 18
Department of Computer Engineering MIC(22415)
8. Compare the following instructions AAA and DAA.
9. Explain the following instruction of 8086 with suitable example: AAA
Page | 19
Department of Computer Engineering MIC(22415)
10. Explain any one logical instruction of 8086 with example.
Page | 20
Department of Computer Engineering MIC(22415)
11. Describe any two-bit manipulation instructions.
12. What are the functions of CALL and RET instruction? Write syntax of CALL and RET instructions.
13. Explain the following instructions of 8086 with suitable example.
i} LOOP
ii} INTO
Page | 21
Department of Computer Engineering MIC(22415)
14. List four machine(Process) control instruction and state their function.
15. List the string related instructions of 8086 microprocessor and explain any two instructions.
Page | 22
Department of Computer Engineering MIC(22415)
CHAPTER 4: 8086 Assembly Language Programming
1. Describe the model of assembly language programming.
2. Write an ALP to perform 32 bit by 16-bit division of unsigned numbers.
Page | 23
Department of Computer Engineering MIC(22415)
3. Write an ALP to count number of '1' in 16-bit number.
Page | 24
Department of Computer Engineering MIC(22415)
4. Write an ALP for addition of two 8 bit BCD numbers using MACRO
Page | 25
Department of Computer Engineering MIC(22415)
5. Write an ALP to count the number of positive and negative numbers in array.
Page | 26
Department of Computer Engineering MIC(22415)
6. Write an ALP for concatenation of two strings. Draw flowchart and assume suitable data.
7. Write an ALP to find the smallest number in the Array
Page | 27
Department of Computer Engineering MIC(22415)
8. Write an ALP to divide two 8 bit signed numbers.
Page | 28
Department of Computer Engineering MIC(22415)
9. Write an ALP to convert Hex number into its ASCII equivalent
Page | 29
Department of Computer Engineering MIC(22415)
10. Describe the model of assembly language programming.
11. Write an ALP to perform 32 bit by 16-bit division of unsigned numbers.
Page | 30
Department of Computer Engineering MIC(22415)
12. Write an ALP to count number of '1' in 16-bit number.
13. Write an ALP for addition of two 8 bit BCD numbers using MACRO
Page | 31
Department of Computer Engineering MIC(22415)
14. Write an ALP to count the number of positive and negative numbers in array.
Page | 32
Department of Computer Engineering MIC(22415)
15. Write an ALP for concatenation of two strings. Draw flowchart and assume suitable data.
16. Write an ALP to find the smallest number in the Array
Page | 33
Department of Computer Engineering MIC(22415)
17. Write an ALP to divide two 8 bit signed numbers.
18. Write an ALP to convert Hex number into its ASCII equivalent
Page | 34
Department of Computer Engineering MIC(22415)
19. Write an ALP for 32-bit subtraction.
Page | 35
Department of Computer Engineering MIC(22415)
CHAPTER 5: Procedure and Macros in ALP
1. Procedure and Macro in Assembly Language Program.
2. State the steps involved in ALP using procedure.
3. What is Procedure? What are the two advantages of using procedure in our program.
Page | 36
Department of Computer Engineering MIC(22415)
4. Explain re-entrant and recursive procedures.
5. State the functions of following directives
i} PROC
ii} ENDP
Page | 37
Department of Computer Engineering MIC(22415)
6. Difference between Inter Segment and Intra Segment.
7. Differentiate between NEAR and FAR Call.
Page | 38
Department of Computer Engineering MIC(22415)
8. Explain various ways of parameter passing in 8086 assembly language procedure.
9. What is MACRO? Define macros with an example.
Page | 39
Department of Computer Engineering MIC(22415)
10. Define MACRO. Write assembler directive used in MACRO. Explain.
11. Write the difference between PROCEDURE and MACRO
Page | 40
Department of Computer Engineering MIC(22415)
12. Write a Program to Arrange Numbers in the Array in Descending Order using Procedure.
Page | 41
Department of Computer Engineering MIC(22415)
13. Write Program to Arrange Numbers in the Array in Ascending Order using Procedure.
14. Write Program to Find Largest Number from the Array using Procedure.
Page | 42
Department of Computer Engineering MIC(22415)
15. Write Program to Find Smallest Number from the Array using Procedure.
Page | 43
Department of Computer Engineering MIC(22415)
16. Write Program for Addition of Series of 8 bit Numbers using Procedure.
Page | 44
Department of Computer Engineering MIC(22415)
17. Write Program using Procedure for Performing the Operations Z = (A + B) * (C + D)
18. Write Procedure to find Factorial of a Number.
Page | 45
Department of Computer Engineering MIC(22415)
19. Write Program to Multiply 8 bit Numbers using NEAR Procedure.
Page | 46
Department of Computer Engineering MIC(22415)
20. Write Program using Procedure to Add Two BCD Numbers
21. Write Smallest Number in the Array using Macro
Page | 47
Department of Computer Engineering MIC(22415)
22. Write Largest Number in the Array using Macro
23. Write Using Macros, Assembly Language Program to Solve P=x^{2}+y^{2} where x and y are 8 bit
Number
Page | 48
Department of Computer Engineering MIC(22415)
24. Using Macros, Assembly Language Program to Solve Z = (A + B) * (C + D) where A, B, C and D are 8 Bit
Numbers
Page | 49
Department of Computer Engineering MIC(22415)
25. Write a Program to Arrange Numbers in the Array in Descending Order using Procedure.
.
26. Write Program to Arrange Numbers in the Array in Ascending Order using Procedure.
Page | 50
Department of Computer Engineering MIC(22415)
27. Write Program to Find Largest Number from the Array using Procedure.
Page | 51
Department of Computer Engineering MIC(22415)
28. Write Program to Find Smallest Number from the Array using Procedure.
29. Write Program for Addition of Series of 8 bit Numbers using Procedure.
Page | 52
Department of Computer Engineering MIC(22415)
30. Write Program using Procedure for Performing the Operations Z = (A + B) * (C + D)
31. Write Procedure to find Factorial of a Number.
Page | 53
Department of Computer Engineering MIC(22415)
32. Write Program to Multiply 8 bit Numbers using NEAR Procedure.
Page | 54
Department of Computer Engineering MIC(22415)
33. Write Program using Procedure to Add Two BCD Numbers
34. Write Smallest Number in the Array using Macro
Page | 55
Department of Computer Engineering MIC(22415)
35. Write Largest Number in the Array using Macro
36. Write Using Macros, Assembly Language Program to Solve P=x^{2}+y^{2} where x and y are 8 bit
Number
Page | 56
Department of Computer Engineering MIC(22415)
37. Using Macros, Assembly Language Program to Solve Z = (A + B) * (C + D) where A, B, C and D are 8 Bit
Numbers
Page | 57
Department of Computer Engineering MIC(22415)
Page | 58