Question: Question no . 2 ( a ) Write an assembly code to declare and initialize Matrix of size 3 x 3 . Generate the matrix
Question no
a Write an assembly code to declare and initialize Matrix of size x 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.
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 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 An Armstrong number is an ndigit number that is equal to the sum of the nth powers of its digits.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
