tools.processor
Class ProcessorFamily

java.lang.Object
  extended by tools.processor.ProcessorFamily

public class ProcessorFamily
extends java.lang.Object

Processors often come in related families. For instance, the Z80 is the big-brother of the 8080. The Z80 has all of the 8080's opcodes plus a few others. In fact, the 8080 opcodes can use the Z80 mnemonics, which are clearer in my opinion. The XML file groups processors by family, and this class maintains a grouping of related Processor objects.


Constructor Summary
ProcessorFamily(java.lang.String familyFileName)
          This function creates a new Processor object by parsing the corresponding XML.
 
Method Summary
 java.util.List<ProcessorBlendEntry> getBlendEntries()
           
 java.lang.String getBlendJump()
           
 java.lang.String getFamilyName()
           
 java.util.Map<java.lang.String,PrintSpacing> getPrintSpacing()
           
 java.util.Map<java.lang.String,Processor> getProcessors()
           
 boolean isLittleEndian()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorFamily

public ProcessorFamily(java.lang.String familyFileName)
This function creates a new Processor object by parsing the corresponding XML.

Parameters:
familyFileName - name of the family's XML file
Method Detail

getFamilyName

public java.lang.String getFamilyName()

getPrintSpacing

public java.util.Map<java.lang.String,PrintSpacing> getPrintSpacing()

getProcessors

public java.util.Map<java.lang.String,Processor> getProcessors()

isLittleEndian

public boolean isLittleEndian()

getBlendEntries

public java.util.List<ProcessorBlendEntry> getBlendEntries()

getBlendJump

public java.lang.String getBlendJump()