edu.ustc.cs.compile.arch
接口 Opcode

所有已知实现类:
MIPSOpcode, X86Opcode

public interface Opcode

The root interface in the opcode hierarchy. An opcode is the first token of the instruct.

Any new kind of assembly language should provide an implementation of this interface, which should provide a method toString(). It recommands that the implementation could represent all opcodes in the new assembly language.
The examples of representing the opcodes of x86 assembly language and mips assembly language can be respectively found in the descriptions of X86Opcode and MIPSOpcode.


方法摘要
 java.lang.String toString()
          Returns a string representation of this opcode.
 

方法详细信息

toString

java.lang.String toString()
Returns a string representation of this opcode.

覆盖:
java.lang.Object 中的 toString
返回:
a string representation of this opcode.