Lab Questions Part-A

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

LAB QUESTIONS

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

7. Write an assembly language program to convert a given number from ASCII to


DECIMAL.

8. Write an assembly language program to convert a given number from HEX to


DECIMAL.

9. Write an assembly language program to count the number of 0’s and 1’s in a given
byte of data.

10. Write an assembly language program to generate BCD up/down counter.

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.

14. Write an assembly language program to demonstrate all rotate instructions.

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.

You might also like