Ca 2 - Microprocessor
Ca 2 - Microprocessor
SET : 01
SET : 02
1. List and explain the addressing modes of 8086 with examples?
2. a) Write an assembly language program to convert unpacked BCD to ASCII.
b) Write an assembly language program to find sum of squares
3. (a) Explain any 2 groups of instructions in 8086.
(b) Calculate physical address of the memory location being referred in the given
instructions for the following values in the 8086 registers
CS=1120h,DS=1150h,ES=1250h,SS=1350h,AX=1000h,BX=2000h,
CX=3000,DX=4000h, SI=1111h,DI=2222h,SP=1010h,BP=1100h
(i) MOV AX, [BX]
(ii) MOV AX, [BP][SI]
(iii) MOV AX, [BX][DI]10H
(iv) MOV AX, [BP][DI]-10H
4. (a) Develop an assembly language program to find the sum of squares of first ten
numbers.
(b) Develop an assembly language program to find number of even and odd
numbers in an 8- bit array.
5. (a) Implement a programming logic in assembly language to sort the given list of
ten numbers starting at memory location 1000h in ascending order.
(b) Explain the following instructions with an example to each?
(i) AAA (ii) SCASB (iii) SHR
6. Write an assembly language program to reverse the given string “1, 2, 3, 4, 5”
with string instructions.
(b) List various addressing modes supported in 8086 microprocessor
programming and give one example to each.
7. Explain the Addressing Modes of 8086 microprocessor with examples
8. a) Write an assembly language program to sort the given values in descending
order with detailed explanation of taking example data.
b) Define assembler directives and mention the purpose of assembler directives
with some examples
9. Explain the instructions of 8086 with examples.
10. a) Write an 8086 assembly language program to convert Binary to BCD number?
b) Describe in detail about the Procedures with suitable syntax and example.
CA 2 : MICROPROCESSOR
Dr. Amarjit Roy
SET : 03
SET : 04
SET : 05