Instruction Formats


Each instruction is placed on a separate line in the following format:
   label:    mnemonic    operands    #comment
All MIPS instructions are 32 bits in length and consist of three types:
  • R-type, which is the most common; it specifies an opcode, up to two source and one destination registers, and a shift amount for shift. It includes arithmetic and logic, shift, and register direct jump instructions.
  • I-type, which is used for immediate instructions.

  • J-type, which is used for the unconditional jump instructions. Conditional branch is using I-type format.




      Why don’t blind people skydive?    
      Because it scares the hell out of their dogs.