Question: Write a simple program to perform: Z=A+B(CD). The instructions you may use are MOV,ADD,SUB, and MUL. First, you need to move the values of A,B,C,

Write a simple program to perform: Z=A+B(CD). The instructions you may use are MOV,ADD,SUB, and MUL. First, you need to move the values of A,B,C, and D into registers r1,r2,r3, and r4, respectively. The result (i.e., Z) will be put into ro. Use the Keil simulator to write, assemble, and run the above program. What is the value of r0 in 8 hexadecimal digits after running the program? Write each hexadecimal digit in a box, i.e., do not write more than one digit in each box. you must fill ALL boxes, even if its value is zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
