Question: help immediately i have 2 questions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 .ORIG

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 .ORIG X3000 0011000000000000 AND RO, RO, x0 0101000000100000 AND Ri, Ri, x0 0101001001100000 ADD R1, R1, x9 0001001001101001 X 0000100000000100 LD R2, FF 0010010000001000 LEA R3, FE Y 0111001011000010 LEA R7, DD 1110111000000011 Z 1001101101111111 BRnz DD 0000110000000001 NOT R4, R3 1001100011111111 D 0110110010000001 TRAP X25 1111000000100101 .FILL XFF00 1101000000000000 FILL XEF00 1111111000000000 .FILL XFAFA 1111101011111010 END EE DD FF Reverse-assemble the binary program (convert the binary program into an assembly language program). Most of the instructions have already been reverse-assembled for you, so your job is to complete the task. Which answer includes the assembly code of Line 5 (X), Line 8 (V), Line 10 (2) and Line 13 (D)? Consider the following function: int fun(int x, double y) { return (x + y)/2; } Assume the following declaration and initialization statements: int n = 2, k; double m = 9.5; Which one of the following statements calls the above function correctly? Yantnz: Ck = int fun(int m, int n); cint fun(m, n); k = fun(int n, int m); Ck = fun(n, m)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
