Class AbstractRegisterBank2
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank
com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank2
- All Implemented Interfaces:
IRegisterBank
Abstract class to create a processors' register banks.
Usage: extend this class; use the non-static add
methods (see: add
, add
,
add
) to add register
definitions to the bank.
Note: this class supersedes AbstractRegisterBank
; it is recommended to use this class
instead of AbstractRegisterBank
to define new register banks.
-
Field Summary
FieldsFields inherited from class com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank
REG_GRP_GP, REG_GRP_SPECIAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RegisterDescriptionEntry
protected RegisterDescriptionEntry
protected RegisterDescriptionEntry
add
(int bitsize, String name, String altname, RegisterEncoding encoding, RegisterType type) Methods inherited from class com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank
add, add, add, format, getAllDescriptionEntries, getCountOfDescriptionEntries, getDescriptionEntries, getDescriptionEntry, getDescriptionEntryById, getDescriptionEntryByName, getDescriptionEntryByName, getDescriptionEntryByType, toString
-
Field Details
-
entries
-
-
Constructor Details
-
AbstractRegisterBank2
public AbstractRegisterBank2()
-
-
Method Details
-
getDescriptionEntryMap
- Specified by:
getDescriptionEntryMap
in classAbstractRegisterBank
- Returns:
- a map of full registers: key=index, value=full register entry
-
add
protected RegisterDescriptionEntry add(int bitsize, String name, String altname, RegisterEncoding encoding, RegisterType type) -
add
-
add
-