tools.assembler
Class DataOpcode

java.lang.Object
  extended by tools.processor.Opcode
      extended by tools.assembler.DataOpcode

public class DataOpcode
extends Opcode

This Opcode implementation holds variable length data runs defined in an assembly program.


Field Summary
 java.util.List<java.lang.Integer> sizes
           
 java.util.List<java.lang.String> values
           
 
Constructor Summary
DataOpcode()
           
 
Method Summary
 int getOpcodeSize()
          This method returns the number of bytes occupied by the opcode.
 
Methods inherited from class tools.processor.Opcode
decodeData, getBus, getClocks, getCode, getFlags, getMnemonics, getProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

public java.util.List<java.lang.String> values

sizes

public java.util.List<java.lang.Integer> sizes
Constructor Detail

DataOpcode

public DataOpcode()
Method Detail

getOpcodeSize

public int getOpcodeSize()
Description copied from class: Opcode
This method returns the number of bytes occupied by the opcode.

Overrides:
getOpcodeSize in class Opcode
Returns:
byte-size of the opcode