|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
java.lang.Objectedu.ustc.cs.compile.arch.mips.MIPSOpcode
public class MIPSOpcode
Provides a representation of opcodes in a simple MIPS assembly language that can run in SPIM(a simulator of MIPS R2000/R3000).
Following is a list of opcodes and their representation in this class(which could be used in the form of MIPSOpcode.XXX):
Instruct
inst = new Instruct(MIPSOpcode.NOP, null);
字段摘要 | |
---|---|
static MIPSOpcode |
ABS
Opcode "abs" |
static MIPSOpcode |
ADD
Opcode "add" |
static MIPSOpcode |
AND
Opcode "and" |
static MIPSOpcode |
B
Opcode "b" |
static MIPSOpcode |
BEQ
Opcode "beq" |
static MIPSOpcode |
BGE
Opcode "bge" |
static MIPSOpcode |
BGT
Opcode "bgt" |
static MIPSOpcode |
BLE
Opcode "ble" |
static MIPSOpcode |
BLT
Opcode "blt" |
static MIPSOpcode |
BNE
Opcode "bne" |
static MIPSOpcode |
DIV
Opcode "div" |
static MIPSOpcode |
J
Opcode "j" |
static MIPSOpcode |
JAL
Opcode "jal" |
static MIPSOpcode |
LA
Opcode "la" |
static MIPSOpcode |
LI
Opcode "li" |
static MIPSOpcode |
LW
Opcode "lw" |
static MIPSOpcode |
MOVE
Opcode "move" |
static MIPSOpcode |
MULO
Opcode "mulo" |
static MIPSOpcode |
NEG
Opcode "neg" |
static MIPSOpcode |
NOP
Opcode "nop" |
static MIPSOpcode |
NOR
Opcode "nor" |
static MIPSOpcode |
NOT
Opcode "not" |
static MIPSOpcode |
OR
Opcode "or" |
static MIPSOpcode |
REM
Opcode "rem" |
static MIPSOpcode |
ROL
Opcode "rol" |
static MIPSOpcode |
ROR
Opcode "ror" |
static MIPSOpcode |
SEQ
Opcode "seq" |
static MIPSOpcode |
SGE
Opcode "sge" |
static MIPSOpcode |
SGT
Opcode "sgt" |
static MIPSOpcode |
SLE
Opcode "sle" |
static MIPSOpcode |
SLL
Opcode "sll" |
static MIPSOpcode |
SLT
Opcode "slt" |
static MIPSOpcode |
SNE
Opcode "sne" |
static MIPSOpcode |
SRA
Opcode "sra" |
static MIPSOpcode |
SRL
Opcode "srl" |
static MIPSOpcode |
SUB
Opcode "sub" |
static MIPSOpcode |
SW
Opcode "sw" |
static MIPSOpcode |
SYSCALL
Opcode "syscall" |
static MIPSOpcode |
XOR
Opcode "xor" |
构造函数摘要 | |
---|---|
MIPSOpcode()
|
方法摘要 | |
---|---|
java.lang.String |
toString()
Returns a string representation of this MIPS opcode. |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
public static final MIPSOpcode NOP
public static final MIPSOpcode SYSCALL
public static final MIPSOpcode J
public static final MIPSOpcode JAL
public static final MIPSOpcode B
public static final MIPSOpcode MOVE
public static final MIPSOpcode LA
public static final MIPSOpcode LI
public static final MIPSOpcode LW
public static final MIPSOpcode SW
public static final MIPSOpcode ABS
public static final MIPSOpcode NEG
public static final MIPSOpcode ADD
public static final MIPSOpcode SUB
public static final MIPSOpcode MULO
public static final MIPSOpcode DIV
public static final MIPSOpcode REM
public static final MIPSOpcode ROL
public static final MIPSOpcode ROR
public static final MIPSOpcode SLL
public static final MIPSOpcode SRA
public static final MIPSOpcode SRL
public static final MIPSOpcode AND
public static final MIPSOpcode OR
public static final MIPSOpcode XOR
public static final MIPSOpcode NOR
public static final MIPSOpcode NOT
public static final MIPSOpcode SLT
public static final MIPSOpcode SEQ
public static final MIPSOpcode SGE
public static final MIPSOpcode SGT
public static final MIPSOpcode SLE
public static final MIPSOpcode SNE
public static final MIPSOpcode BEQ
public static final MIPSOpcode BGE
public static final MIPSOpcode BGT
public static final MIPSOpcode BLE
public static final MIPSOpcode BLT
public static final MIPSOpcode BNE
构造函数详细信息 |
---|
public MIPSOpcode()
方法详细信息 |
---|
public java.lang.String toString()
Opcode
中的 toString
java.lang.Object
中的 toString
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |