1. Given Hexadecimal EDCC16
Detail steps are required.
1) What is the binary representation?
2) What is the negation of EDCC in HEX?
3) Convert it to decimal number if this is a 2s-complement signed binary representation in 16-
bit register
4) Convert it to decimal number if this is an unsigned binary representation in 16-bit
2. Suppose we have 3 arrays A, B, and C, array A’s base address is in $S3, B’s base address is in $S4, C’s
base address is in $S5. You can only use two temporal registers $t0 and $t1. Convert the following code
into MIPS assembly language code. Suppose every array element occupies 1 word in MIPS (32 bits).
A[21] = B[0] + C[16];
Get Answers For Free
Most questions answered within 1 hours.