Array, String, and Recursion using Assembly Language Programming
Q1: Write an assembly program that will take two 2 × 2 matrices as input, add them, and print the resultant matrix. You have to use arrays for taking input, for performing the addition operations, and for the final resultant matrix. Please note that, while the entries of the matrices will be non-negative single digit numbers, the entries of the output matrix can be two-digit numbers. Also, you need not print the square brackets of the output matrix.
Sample Input Sample Output
11 22 33 112233
Q2: Using recursion, write an assembly program that will take a non-negative two-digit integer number n as input, and print the first n numbers of the Fibonacci sequence.
Sample Input 01
02
04
10
resources from online, under no circumstances should you copy code from any source. If found out, you will receive full 100% negative marks.
Sample Output
0
0,1
0,1,1,2 0,1,1,2,3,5,8,13,21,34
March
* While you are encouraged to talk to your peers, seek help from teachers, and search relevant
Submission Deadline: 8 AM,
28, 2021
1




