You are on page 1of 1

Programs for practical exam

1. Write an 8085 program to copy block of five numbers starting from location 2001h to locations
starting from 3001h.[7 marks]
2. Write ALP to calculate the factorial of a number between 0 to 8.[7 marks]
3. Write ALP for displaying binary up counter. Counter should count numbers from 00H to FFH and it
should increment after every 0.5 sec. (use 8085 operating frequency =2MHz)[7 marks]
4. An array of ten data bytes is stored on memory locations 2100H onwards. Write an 8085 assembly
language program to find the largest number and store it on memory location 2200H.[7 marks]
5. An array of twenty data bytes is stored on memory locations 2000H onwards. Write an 8085 assembly
language program to count the number of zeros, odd numbers and even numbers and store them on
memory locations 3000H, 3001H and 3002H, respectively.[7 marks]
6. Write a set of 8085 assembly language instructions to generate a 0.5 second delay, if the crystal
frequency is 4 MHz.[4 marks]
7. Write an 8085 assembly language program to count the number of bytes that are greater than 2010
and lesser than 4010 from an array of ten bytes stored on memory locations 2000H onwards. Store
such numbers on memory locations 3000H onwards.[7 marks]
8. Write an 8085 assembly language program sort an array of twenty bytes stored on memory locations
2000H onwards in descending order.[7 marks]
9. Write an 8085 assembly language program to separate out the numbers between 2010 and 4010 from
an array of Ten numbers stored on memory locations 2000H onwards. Store the separated numbers
on a new array from 3000H onwards.[7 marks]
10. An array of Ten numbers is stored from memory location 2000H onwards. Write an 8085 assembly
language program to separate out and store the EVEN and ODD numbers on new arrays from 2100H
and 2200H, respectively.[7 marks]
11. Write an 8085 assembly language program to generate a decimal counter (which counts 0 to 9
continuously) with a one second delay in between. Also write a subroutine DELAY for generating a
1 second delay. Assume a crystal frequency of 2MHz.[7 marks]
12. Write an 8085 assembly language program to continuously read an input port with address 50H. Also
write an ISR to send the same data to output port with address A0H when 8085 receives an interrupt
request on its RST 5.5 pin.[7 marks]
13. Write an 8085 assembly language program to convert a two-digit BCD number into its equivalent
hexadecimal number.[7 marks]
14. Write an 8085 assembly language program to convert an 8-bit hexadecimal number into its equivalent
decimal number.[7 marks]
15. An array of ten data bytes is stored on memory locations 2100H onwards. Write an 8085 assembly
language program to find the bytes having complemented nibbles (e.g. 2DH, 3CH, 78H etc.) and
store them on a new array starting from memory locations 2200H onwards.[7 marks]
16. An array of twenty data bytes is stored on memory locations 4100H onwards. Write an 8085 assembly
language program to remove the duplicate entries from the array and store the compressed array on
a new array starting from memory locations 4200H onwards.[7 marks]
17. Write a set of 8085 assembly language instructions to generate a 1 second delay, if the crystal
frequency is 6 MHz.[4 marks]
18. Write an 8085 assembly language program to count the number of bytes that are greater than 2510
and lesser than 6510 from an array of twenty bytes stored on memory locations 2000H onwards. Store
such numbers on memory locations 2100H onwards.[7 marks]
19. Write an 8085 assembly language program to count the positive numbers, negative numbers, zeros
and to find the maximum number from an array of twenty bytes stored on memory locations 2000H
onwards. Store these three counts and the maximum number on memory locations 3001H to 3004H,
respectively.[7 marks]
Faculty’s Sign : Students’ Signs:

You might also like