ADR 4 ab ADR Multiple choice which of the following? 3s. The UAL code given to t
ID: 3566935 • Letter: A
Question
ADR 4 ab ADR Multiple choice which of the following? 3s. The UAL code given to the right computes y ADD ro.ro, ADR a (b c) STR r2, 41 D) y (a b) c E) None the above of All of the above 36). the responses from Q w 35. The UAL code given to n First Address the right computes which of the following. assuming the r4, a Mov32 ro, LDR memory map also provided? LDR r2, tr 81 Mur, ro, ro, r1 ADD ro, ro, r2 121 STR ro, 37) Which of Q a 35 or Q 36 is more efficient in execution time and thus provides improved performance? A) Q 35 provides higher performance B) Q 36 provides higher performance C) They provide equal performance D) None of the above 38). Examining the code given in Q 36 which of the following is used as a pointer? registers a B) RI D) R4 E) R5 All of the above 39). Using the responses from Q 38, and examining the code given in Q 36, which register holds the value of variable C? 40). After computation of (99 (-16) the ARM ISA the NZCV bits respectively are in A) 1001 B) 0001 1010 0000 E) 0010 None of the aboveExplanation / Answer
35) r0 = r0 + r5
r2 = (r0*r5)
r0->b
r5->a
a = a+b
r2 = (a+b)*a
y = (A+b)*a
None of the above
36)
r0->a
r1->b
r2->c
r0 = (a*b)
r0 = (a*b)+c
y = (a*b) + c
37)
Q #36 provides higher performance because less memory is used than #35
38)
A) R0. It is used to point to B and C
39)
r2 holds the value of C since R2's address is 8 bytes more than r4(r4+8)
35) r0 = r0 + r5
r2 = (r0*r5)
r0->b
r5->a
a = a+b
r2 = (a+b)*a
y = (A+b)*a
None of the above
36)
r0->a
r1->b
r2->c
r0 = (a*b)
r0 = (a*b)+c
y = (a*b) + c
37)
Q #36 provides higher performance because less memory is used than #35
38)
A) R0. It is used to point to B and C
39)
r2 holds the value of C since R2's address is 8 bytes more than r4(r4+8)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.