| |
|
|
|
|
|
AL-065 |
 |
An Assembly Language Program that computes the sum of an array of size 10 with elements 10,20,30,40,50,60,70,80,90 and 100 respectively. Place the sum in AX and also display it. Use Register Indirect Mode to access the array elements.
|
|
AL-066 |
 |
An Assembly Language Program that initialize an array of size 10 with 0 using DUP instruction. Also display the array elements.
|
|
AL-067 |
 |
An Assembly Language Program that prompts the user to enter an array of size 10 and display it.
|
|
AL-068 |
 |
An Assembly Language Program to declare, initialize and print a 2D array of size 5x5.
|
|
AL-069 |
 |
An Assembly Language Program that prompts the user to enter an 2D array of size 5x5 in row major order and print the array.
|
|
AL-070 |
 |
An Assembly Language Program that declares and initialize a 2D array of size 4x5 in row major order, and print the contents of the 3rd row and 4th column using Register Indirect Mode.
|
|
AL-071 |
 |
An Assembly Language Program that declares and initialize an array of size 10, then display the contents of the array before & after reversing its contents using STACK.
|
|
AL-072 |
 |
An Assembly Language Program that declares and initialize an array of size 10, then display the contents of the array before & after reversing its contents using Register Indirect Mode.
|
|
AL-073 |
 |
An Assembly Language Program that declares and initialize an array of size 10, then display the contents of the array before & after sorting it in ascending order by using Bubble Sort method.
|
|
AL-074 |
 |
An Assembly Language Program that declares and initialize an array of size 10, then display the contents of the array before & after sorting it in ascending order by using Select Sort method.
|
|
AL-075 |
 |
An Assembly Language Program that declares and initializes a 2D array of size 4x5 in row major order, and print it.
|
|
AL-076 |
 |
An Assembly Language Program that declares and initializes a 2D array of size 4x5 in column major order, and print it.
|
|
AL-077 |
 |
An Assembly Language Program that declares and initializes a 2D array of size 5x7 in row major order, and print the array before and after clearing the 3rd row and 4th column using Based Index Mode.
|
|
AL-078 |
 |
An Assembly Language Program that will compute the class average on each exam. Suppose a class of five students is given four
exams. The results are recorded as follows:
Student Name :: Test 1 - Test 2 - Test 3 - Test 4
Mary Allen : 67 - 45 - 98 - 33
Scott Baylis : 70 - 56 - 87 - 44
George Frank : 82 - 72 - 89 - 40
Beth Harris : 80 - 67 - 95 - 50
Sam Wong : 78 - 76 - 92 - 60
|
|
AL-079 |
 |
An Assembly Language Program that will print the name of each student and his or her average [truncated to an integer] for the four exams. Suppose the class records are stored as follows:
CLASS DB 'Mary Allen',67,45,98,33
DB 'Scott Baylis',70,56,87,44
DB 'George Frank',82,72,89,40
DB 'Sam Wong',78,76,92,60
Note : Each name occupies 12 bytes.
|
|
AL-080 |
 |
An Assembly Language Program that starts with an initially undefined byte array of max. 100, and lets the user insert single characters into the array in such a way that the array is always sorted in ascending order. The program should print a question mark, let the user to enter a character, and display the array with the new character inserted. Input ends when the user hits the ESC key. Duplicate characters should be ignored.
|
| |
|
|