Question: 1. (30 points, 15 pts each) For the following program, what is the content of R4 (in hexadecimal) at the end of execution: a) if

1. (30 points, 15 pts each) For the following program, what is the content of R4 (in hexadecimal) at the end of execution: a) if this is executed on a byte-addressable, big- endian machine with word size of 4 bytes (32 bits)? b) if it is executed on a byte- addressable, little-endian machine with word size of 4 bytes (32 bits)? The instruction format is "Move destination, source" Move R3, #SFF0000 Move (R3)+, #$1234 Move (R3)+, #$ABCDE Load R4, -7(R3) 1. (30 points, 15 pts each) For the following program, what is the content of R4 (in hexadecimal) at the end of execution: a) if this is executed on a byte-addressable, big- endian machine with word size of 4 bytes (32 bits)? b) if it is executed on a byte- addressable, little-endian machine with word size of 4 bytes (32 bits)? The instruction format is "Move destination, source" Move R3, #SFF0000 Move (R3)+, #$1234 Move (R3)+, #$ABCDE Load R4, -7(R3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
