How many bits does Mars use in MIPS assembly?

Notice that there is only addi (add immediate). MARS will give us a subi, but it is an addi with a negative immediate. The immediate (-100 in the case above) is encoded into the instruction itself. Each instruction consumes exactly 32 bits (4 bytes).
For More Information Please Refer:


You May Also Like to Read: