com.tapina.robe.runtime
Class InterpretedCodeBlock

java.lang.Object
  extended bycom.tapina.robe.runtime.Block
      extended bycom.tapina.robe.runtime.CodeBlock
          extended bycom.tapina.robe.runtime.InterpretedCodeBlock
All Implemented Interfaces:
Executable

public final class InterpretedCodeBlock
extends CodeBlock

Created by IntelliJ IDEA. User: gareth Date: Aug 21, 2003 Time: 7:59:53 AM


Constructor Summary
InterpretedCodeBlock(int address)
           
 
Method Summary
 void appendInstruction(Instruction instruction)
           
 void dumpJavaSource()
           
 void dumpJavaSource(java.io.Writer out)
           
 void execute(Environment environment)
           
 Instruction getInstruction(int index)
           
 
Methods inherited from class com.tapina.robe.runtime.CodeBlock
isExtendable
 
Methods inherited from class com.tapina.robe.runtime.Block
getAddress, setAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpretedCodeBlock

public InterpretedCodeBlock(int address)
Method Detail

appendInstruction

public final void appendInstruction(Instruction instruction)

getInstruction

public final Instruction getInstruction(int index)

execute

public final void execute(Environment environment)
                   throws DecoderException
Throws:
DecoderException

dumpJavaSource

public void dumpJavaSource()

dumpJavaSource

public void dumpJavaSource(java.io.Writer out)
                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2005 . All Rights Reserved.