tools.processor
Class ProcessorFamily
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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()