| 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||
java.lang.Objectedu.ustc.cs.compile.arch.AssemblyElement
edu.ustc.cs.compile.arch.Instruct
public class Instruct
Provides a representation of the instruct in the assembly language codes.
An instruct consists of an opcode, which is followed by a list of operands( or no operands for some opcodes).X86Opcode and
 MIPSOpcode.
| 嵌套类摘要 | |
|---|---|
static class | 
Instruct.Operand
Provides a representation of the operand of the instruct in the assembly language codes.  | 
| 字段摘要 | |
|---|---|
private  Opcode | 
opcode
 | 
private  java.util.List<Instruct.Operand> | 
operands
 | 
| 构造函数摘要 | |
|---|---|
Instruct(Opcode opcode,
         java.util.List<Instruct.Operand> operands)
Constructs an object to represent an instruct.  | 
|
| 方法摘要 | |
|---|---|
 Opcode | 
opcode()
Gets the opcode of this instruct.  | 
 java.util.List<Instruct.Operand> | 
operands()
Gets the operands of this instruct.  | 
 java.lang.String | 
toString()
Returns a string representation of the instruct.  | 
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| 字段详细信息 | 
|---|
private Opcode opcode
private java.util.List<Instruct.Operand> operands
| 构造函数详细信息 | 
|---|
public Instruct(Opcode opcode,
                java.util.List<Instruct.Operand> operands)
opcode - the opcode of this instructoperands - a list of the operands of this instruct. It should be
                 null, if the operands has no operands. The member of this
                 list is of type Operand.| 方法详细信息 | 
|---|
public Opcode opcode()
public java.util.List<Instruct.Operand> operands()
public java.lang.String toString()
java.lang.Object 中的 toString
  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||