[Solved]Thank Much Help Computer Architecture Assignment Problem 2 Needs Done Computer Assembly La Q37210338
Thank you so much for the help! This is a Computerarchitecture assignment: Problem 2 needs to be done in computerassembly language.
-
For this problem, the initial memory values for addresses 0x8000to 0x800f (in left-to-right order) are:
0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 120, -3, 0xa7, 33, 1, 0xff, -36, 17, 0, 0x7f
Assuming that the first 10 bytes in this address rangecorrespond to:
- two char variables,
- a short variable,
- an int variable, and
- another short variable
in left to right order, respectively, what are the initialdecimal values for each of these five variables:
- if the processor uses little-endian ordering?
- if the processor uses big-endian ordering?
- (6 points)
Give the equivalent assembly code for thefollowing three cases:
Assume that variables b, x, and zreside in registers r4, r7, andr10, respectively.
- if (3 * b < z) x = z / 8; else b = x & 21;
- if ((3 * b < z) || (x – b > 15)) x = z / 8; else b = x & 21;
- if ((3 * b < z) && ((x + b > 35) || (z – 14 > x))) x = z / 8; else b = x & 21;
Expert Answer
Answer to Thank you so much for the help! This is a Computer architecture assignment: Problem 2 needs to be done in computer assem… . . .
OR

