com.tapina.robe.runtime.instruction
Class MultipleTransferInstruction

java.lang.Object
  extended bycom.tapina.robe.runtime.Instruction
      extended bycom.tapina.robe.runtime.instruction.MultipleTransferInstruction

public final class MultipleTransferInstruction
extends Instruction

Created by IntelliJ IDEA. User: gareth Date: Sep 2, 2003 Time: 5:05:25 PM


Field Summary
static MultipleTransfer LDM
           
static MultipleTransfer STM
           
 
Fields inherited from class com.tapina.robe.runtime.Instruction
count
 
Constructor Summary
MultipleTransferInstruction(Condition condition, MultipleTransfer transfer, int[] registers, MultipleAddressSource addressSource, boolean useBaseValue, boolean psrForceUser)
           
 
Method Summary
 void dumpJavaSourceUnconditional(java.io.Writer out)
           
protected  boolean execute(Environment environment)
          Try to avoid having much in the way of conditionals in this method - it should execute straight through and be as easily optimised/inlined as possible for speed.
 
Methods inherited from class com.tapina.robe.runtime.Instruction
checkAndExecute, dumpCondition, dumpJavaSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LDM

public static final MultipleTransfer LDM

STM

public static final MultipleTransfer STM
Constructor Detail

MultipleTransferInstruction

public MultipleTransferInstruction(Condition condition,
                                   MultipleTransfer transfer,
                                   int[] registers,
                                   MultipleAddressSource addressSource,
                                   boolean useBaseValue,
                                   boolean psrForceUser)
Method Detail

execute

protected final boolean execute(Environment environment)
Description copied from class: Instruction
Try to avoid having much in the way of conditionals in this method - it should execute straight through and be as easily optimised/inlined as possible for speed. Do all your ifs and buts in the decoder or the constructor to this class.

Specified by:
execute in class Instruction
Parameters:
environment -
Returns:
true if the pipeline should be flushed (i.e. branch has occurred)

dumpJavaSourceUnconditional

public void dumpJavaSourceUnconditional(java.io.Writer out)
                                 throws java.io.IOException
Specified by:
dumpJavaSourceUnconditional in class Instruction
Throws:
java.io.IOException


Copyright © 2003-2005 . All Rights Reserved.