Practice Problems

Concepts

Is hexadecimal machine language or assembly code?

If all types of instructions have the same opcode, how do we tell which instruction it is?

Why do we need to know what type of instruction it is?

Using the bit table

How many bits are registers?

What are the bit indices of the immediate value in an I-type instruction?

How many bits are in an instruction?

Using the opcode table

What type of instruction is ADDI?

What is the funct3 of LW?

What is the opcode of I-type instructions?

True or False: CSRRCI has a funct7?

Registers

What is the binary value of register x18?

What is the corresponding register for named register t0?