Write the results of the two numbers in decimal after the


Answer the following questions and also justify your answers with appropriate examples

Please describe

Question 1: Write the subsequent sequence of codes into MIPS assembler:

a. x = x + y + z - q;

Assume that x, y, z,and q are stored in registers $s1-$s4.

Part 2:   k = h +3

Assume that k, h are in $s1 and $s2;

Part 3:   p = j - (g-5)

Assume that p, j and gare in $s1-$s3;

Part d: A[5] = B + A[7];

Suppose that the base address of Ais in $s2, Bis in $s3. 

Question 2: Please covert the subsequent decimal numbers into binary numbers:  (using 2 bytes = 16 bits)

(Show all steps)

Unsigned 3,578 9,234

Signed -1,899 -853

Question 3: Please covert the subsequent binary numbers into decimal numbers:

Unsigned 1011100100000010 100011110011

Signed 1011100100000010 100011110011

Question 4: Write the results of the two numbers (in decimal) after the BIT operations:

234 AND128 NOT200 64 OR170

(Note, you need to change them into binary to do the operations, then change them back to decimal)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write the results of the two numbers in decimal after the
Reference No:- TGS0954065

Expected delivery within 24 Hours