Vous êtes sur la page 1sur 2

# Ha Noi University of Science and Technology

## School of !nformation and Communication Technology

Laboratory Exercise 7,8,9
Mini-projects
0oulx
Review elementary knowledge about assembly programming to solve whole
problems. Learn how to work in a group to promote group spirit.
Projectx
Select two oI the Iollowing problems, write assembly program.

(1). reate a program to input a decimal number Irom keyboard, modulo-divide it
Ior 16, display the result on LED-output port.

(2). reate an integer sorting program using bubble algorithm.

(3). reate an integer sorting program using insertion algorithm.

(4). reate a program to:
- Input an array oI integer Irom keyboard.
- Find the maximum element oI array.
- alculate the number oI elements in the range oI (m,M). Range m,M are
inputed Irom keyboard.

(5). Write a program to get decimal numbers, display those numbers in binary and

(6). Write a program to draw this triangle:
*
* *
* *
* * * * * * *

The number oI rows is inputted Irom keyboard.

(7). Write a program to draw this number triangle:
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1

The number oI rows is inputted Irom keyboard.
Ha Noi University of Science and Technology
School of !nformation and Communication Technology

(8). Write a program to:
- Input the number oI students in class.
- Input the name oI students in class, mark
- Sort students due to their mark.

(9). Write a program to:
- Read in the number oI students in the class.