Professional Documents
Culture Documents
Lab Questions Part-A
Lab Questions Part-A
Lab Questions Part-A
PART-A
1. Write an assembly language program to move a block of data from one memory
location to another memory location.
2. Write an assembly language program to exchange group of data between two memory
locations.
3. Write an assembly language program to sort a given set of numbers using bubble sort
method.
4. Write an assembly language program to find the largest element in an array using
SUBB instruction.
5. Write an assembly language program to find the largest element in an array using
CJNE instruction.
6. Write an assembly language program to convert a given number from BCD to ASCII
code.
LAB QUESTIONS
PART-A
9. Write an assembly language program to count the number of 0’s and 1’s in a given
byte of data.
11. Write an assembly language program to send the message “REVA INSTITUTE OF
TECHNOLOGY, BANGALORE” to the serial port continuously. Assume
XTAL=11.0592 MHz, baud rate=9600, 8 bit data and one stop bit.
12. Write an assembly language program to convert a given number from DECIMAL to
HEX.
LAB QUESTIONS
PART-A
13. Write an assembly language program to generate a Hexadecimal up/down counter.
15. Write an assembly language program to add two multi byte numbers.
16. Write an assembly language program to generate Fibonacci series from 40H location.