logo

UTK Notes


Encoding/Decoding Practice

Question 1

Encode sra a0, a3, a5 and give your answer in hex:

0x40F6_D533

Question 2

Encode beq t0, t1, -8 and give your answer in hex:

0xFE62_8CE3

Question 3

Decode 0xF9C3_C313:

xori t1, t2, -100

Question 4

Decode 0x02A9_DF33:

divu t5, s3, a0

Question 5

Encode addi t3, s5, -40 and give your answer in hex:

0xFD8A_8E13