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

所有已知实现类:
MIPSRegister, X86Register

public interface Register

The root interface in the register 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 registers in the new assembly language.
The examples of representing the registers of x86 assembly language and mips assembly language can be respectively found in the descriptions of X86Register and MIPSRegister.


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

方法详细信息

toString

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

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