Tuesday, December 3, 2013

MIPS INSTRUCTION FORMAT AND ADDRESSING MODE

INSTRUCTION FORMATS

Register Type (R-Type)
  • This group contains all instructions that do not require an immediate value, target offset, memory address displacement, or memory address to specify an operand. This includes arithmetic and logic with all operands in registers, shift instructions, and register direct jump instructions (jalr and jr). All R-type instructions use opcode 000000. 


Immediate Type (I-Type)
  • This group includes instructions with an immediate operand, branch instructions, and load and store instructions. In the MIPS architecture, all memory accesses are handled by the main processor, so coprocessor load and store instructions are included in this group. All opcodes except 000000, 00001x, and 0100xx are used for I-type instructions.


Jump Type (J-Type)
    • This group consists of the two direct jump instructions (j and jal). These instructions require a memory address to specify their operand. J-type instructions use opcodes 00001x.

    Published by:
    Nor Aini binti Ramlan
    B031310286

    No comments:

    Post a Comment

     

    Copyright © 2013 | by BITS STUDENT SIG2