Sen 1
Sen 1
UNIT 2
The Art of Assembly language Programming
1. List the program development steps for assembly language programming. 2M
2. State the Assembler Directives used in 8086 and describe the function of any two. 4M
Explain the following assembler directives:
3. 6M
(i) DB (ii) DW (iii) EQU (iv) DUP (v) SEGMENT (vi) END Vii) EQU
4. List Assembly Language Programming tools. 2M
5. State the function of editor and assembler. 2M
6. Describe any four assembler directives with suitable example. 4M
Describe how an assembly language program is developed and debugging using
7. 6M
program developments tools.
Describe following assembler directives:
8. 4M
(i) DB (i) EQU (ii) Segment (iv) Assume
State the function of following assembly language programing tools:
9. 6M
(i) Assembler (ii) Linker (ii) Debugger
10. State the role of Debugger in assembly language programming. 2M
Demonstrate in detail the program development steps in assembly language
11. 6M
programming.
12. Explain assembly language program development steps. 4M
Explain the use of assembler directives :
13. 6M
(i) DW (ii) EQU (iii) ASSUME (iv) OFFSET (v) SEGMENT (vi) EVEN
ZEAL EDUCATION SOCIETY’S
UNIT 3
Instruction Set of 8086 Microprocessor
1. State the function of STC and CMC Instruction of 8086. 2M
2. State two examples of each, Immediate and based indexed Addressing modes. 2M
Identify the Addressing Modes for the following instructions:
I. MOV CL, 34H
3. II. MOV BX, [4100H] 4M
III. MOV DS, AX
IV. MOV AX, [SI+BX+04]
Explain with suitable example the Instruction given below :
4. 6M
(i) DAA (ii) AAM
Write an appropriate 8086 instruction to perform following operations.
(i) Rotate the content of BX register towards right by 4 bits.
(ii) Rotate the content of AX towards left by 2bits.
5. (iii) Add 100H to the content of AX register. 6M
(iv) Transfer 1234H to DX register.
(v) Multiply AL by 08 H.
(vi) Signed division of BL and AL
6. Explain Addressing modes of 8086 with suitable example. 6M
7. Write any four-bit manipulation instructions of 8086. 2M
8. What is the use of AAM instruction with suitable example? 2M
Describe the function of the following instructions:
9. 4M
(i) DAA (ii) CMP (iii) ADC (iv) JNC
10. Explain any four Addressing Modes of 8086. 4M
Select the instructions for each of the following :
(i) Multiply AL by 05H
(ii) Move 1234H in DS register
11. (iii) Add AX with BX 6M
(iv) Signed Division of AX by BL
(v) Rotate the contents of AX towards left by 4 bits through carry
(vi) Load SP register with FF00H.
12. Explain with example any three Shift and any three Rotate instructions. 6M
13. State any two difference between TEST and AND instructions. 2M
14. Define immediate addressing mode with suitable example. 2M
15. State the use of DAA instruction in BCD addition. 2M
16. Describe DAS instruction with suitable example. 4M
State the addressing mode of following instructions:
(i) MOV AX, 3456H
17. 6M
(ii) ADD BX, [2000H]
(iii) DAA
ZEAL EDUCATION SOCIETY’S
UNIT 4
Assembly Language Programming
1. Write an ALP to Add two 16-bit numbers. 2M
2. Write an alp to perform block transfer operation of 10 numbers. 4M
3. Write an ALP to subtract two BCD number’s. 4M
4. Write an ALP for sum of series of 05 number’s. 4M
5. Write an ALP to find largest number from array of 10 number’s. 4M
Write an ALP to transfer 10 bytes of data from one memory location to another, also
6. 6M
draw the flow chart of the same.
7. Write an ALP to perform addition of two 16 bit BCD numbers 4M
8. Write an ALP to find largest number in array of 5 elements. 4M
9. Write an ALP to find length of string. 4M
10. Write an ALP to count number 1' in 8 bit number. 4M
Write an ALP for concatenation of two strings. Draw flow chart and assume suitable
11. 6M
data.
12. Write an ALP to add two 8 bit numbers. 2 M
13. Write an ALP to multiply two 16 bit signed numbers. 4M
14. Write an ALP to count odd numbers in the array of 10 numbers 4M
15. Write an ALP to count number of 0' in 8 bit number. 4M
Write an assembly language program to add BCD numbers in an array of 10
16. 4M
numbers. Assume suitable array. Store the result at the end of the array.
17. Write an assembly language program for conversion of BCD to Hexadecimal number. 4M
Write an assembly language program to arrange the numbers in ascending order
18. 4M
(Assume suitable data).
19. Write an assembly language program to Count No. of 1's in a 16-bit number. 4M
20. Draw flow chart and write assembly language program to reverse the word in string. 6M
21. Write ALP for addition of two 8 bit numbers. Assume suitable data. 2M
22. Write on ALP to count the number of positive and negative numbers in array. 4M
23. Write an ALP to count ODD and EVEN numbers in array. 4M
24. Write an ALP to arrange numbers in array in descending order. 6M
25. Draw flowchart for multiplication of two 16 bit numbers. 2M
Write an ALP to find largest number in array of elements 10 H, 24 H, 02 H, 05 H, 17
26. 4M
H.
27. Write an ALP to count no. of 0’s in 16 bit number. 4M
ZEAL EDUCATION SOCIETY’S
UNIT 5
Procedure and Macro
1. Define MACRO with its syntax. 2M
2. Differentiate between NEAR and FAR CALLS. 4M
3. Compare procedure and macros (4 points). 4M
4. Describe re-entrant and Recursive procedure with diagram. 4M
5 Explain MACRO with suitable example. List four advantages of it. 4M
6. Define procedure and write its syntax 2M
7. Describe CALL and RET instructions with example. 4M
8. Differentiate between Procedure and Macros. 4M
9. Write any two difference between NEAR and FAR procedure. 2M
10. Describe the directives used to define the procedure with suitable example 4M
11. Write a MACRO to perform 32 bit by 16 bit division of unsigned numbers. 4M
12. List directives used for procedure. 2M
13. What do you mean by procedure? Explain Re-entrant and Recursive procedure. 4M
14. What are the functions of CALL and RET instructions? Describe in brief. 4M
15. Write a procedure to find factorial of given number. 4M
Write an assembly language program using MACRO to perform following operation.
16. 4M
X = (A +B) * (C +D)
Describe with suitable example how parameter is passed on the stack in 8086
17. 2M
assembly language procedure.
18. Define Macro & Procedure. 2M
19. Write an ALP using macro to perform multiplication of two 8 bit unsigned numbers. 4M
20. Write an ALP using procedure to solve equation such as Z = (A + B) * (C + D) 4M
Write an assembly language program to solve p = x 2 + y2 using macro. (x and y are
21. 4M
8-bit numbers)
22. Write an ALP for addition of series of 8-bit number using procedure. 4M