compiler.code
Class ENS2001Environment

java.lang.Object
  extended by compiler.code.ENS2001Environment
All Implemented Interfaces:
ExecutionEnvironmentIF

public class ENS2001Environment
extends java.lang.Object
implements ExecutionEnvironmentIF

Clase que representa el entorno de ejecución del ensamblador ENS2001 El estudiante ha de implementar el método translate


Constructor Summary
ENS2001Environment()
          Constructor for ENS2001Environment.
 
Method Summary
 java.lang.String translate(CuadrupleIF cuadruple)
          Translate the intermediate code operation into a final code operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ENS2001Environment

public ENS2001Environment()
Constructor for ENS2001Environment.

Method Detail

translate

public java.lang.String translate(CuadrupleIF cuadruple)
Translate the intermediate code operation into a final code operation.

Specified by:
translate in interface ExecutionEnvironmentIF
Parameters:
operation - The intermediate code operation to translate.
Returns:
The translation of the intermediate code operation.