Question: Question no . 2 ( a ) Write an assembly code to declare and initialize Matrix of size 3 x 3 . Generate the matrix

Question no.2
(a) Write an assembly code to declare and initialize Matrix of size 3x3. Generate the matrix with random numbers within a range. (Hint: you can do this task by using the system time interrupt) and perform the following task. (15)
a) Calculate the sum of all values in a specified row.
b) Find the Maximum value in the specified row of the array
c) Calculates the sum of the values in the left Diagonal of the array.
d) Find the transpose of array
e) Take another 33 matrix and multiply both.
(b)
Write a procedure that takes an integer from the user and checks whether the input number is Armstrong or not. (Input range up to 500). An Armstrong number is an n-digit number that is equal to the sum of the nth powers of its digits. 3**3**3+7**7**7+1**1**1=371.(10)
Question no . 2 ( a ) Write an assembly code to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!