Package mars.mips.instructions
Class BasicInstructionFormat
java.lang.Object
mars.mips.instructions.BasicInstructionFormat
These are the MIPS-defined formats of basic machine instructions. The R-format indicates
the instruction works only with registers. The I-format indicates the instruction
works with an immediate value (e.g. constant). The J-format indicates this is a Jump
instruction. The I-branch-format is defined by me, not MIPS, to to indicate this is
a Branch instruction, specifically to distinguish immediate
values used as target addresses.
- Version:
- August 2003
- Author:
- Pete Sanderson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic BasicInstructionFormat
static BasicInstructionFormat
static BasicInstructionFormat
static BasicInstructionFormat
-
Method Summary
-
Field Details
-
R_FORMAT
-
I_FORMAT
-
I_BRANCH_FORMAT
-
J_FORMAT
-