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 hexadecimal.
(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. - Read inIormation about each student, including: Name, Math mark. - List the name oI all students who haven`t passed Math exam.
(10). Write a program to: - Input the time interval Irom keyboard. - Input an array oI Iive integer Irom 0 to 255. - Periodly display each integer on LED-output port by time interval