Question: . (a) In the following code segment, a,b,c,d,e,f,g and h are variables. The variables are associated with register r0,r1,r2,r3,r4,r5,r6 and r7 respectively. Take the base
. (a) In the following code segment, a,b,c,d,e,f,g and h are variables. The variables are associated with register r0,r1,r2,r3,r4,r5,r6 and r7 respectively. Take the base of the array value as per your wish. What is the RAM assembly code corresponding to this C segment.
If(a==b)
C=d+e;
Value[5]=c; //word address
else
f=g-h;
value[5]=f; //word address
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
