Question: Suppose p is a pointer to a record with three fields: record { fieldA : int; fieldB : int; fieldC : int; } Which of
Suppose p is a pointer to a record with three fields:
record
{ fieldA : int;
fieldB : int;
fieldC : int;
}
Which of the following is a correct translation of R5 := (*p).fieldc?
Select one:
a.
load R6,p[R0]
load R5,2[R6]
b.
load R6,p[R0]
lea R5,2[R6]
c.
lea R6,p[R0]
load R5,2[R6]
d.
load R5,fieldc[p]
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
