public class

AbstractRegisterBank2

extends AbstractRegisterBank
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank
     ↳ com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank2

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank
Fields
protected final Map<Integer, RegisterDescriptionEntry> entries
Public Constructors
AbstractRegisterBank2()
Public Methods
Map<Integer, RegisterDescriptionEntry> getDescriptionEntryMap()
Protected Methods
RegisterDescriptionEntry add(int bitsize, String name)
RegisterDescriptionEntry add(int bitsize, String name, String altname, RegisterEncoding encoding, RegisterType type)
RegisterDescriptionEntry add(int bitsize, String name, String altname)
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.units.code.asm.processor.IRegisterBank

Fields

protected final Map<Integer, RegisterDescriptionEntry> entries

Public Constructors

public AbstractRegisterBank2 ()

Public Methods

public Map<Integer, RegisterDescriptionEntry> getDescriptionEntryMap ()

Returns
  • a map of full registers: key=index, value=full register entry

Protected Methods

protected RegisterDescriptionEntry add (int bitsize, String name)

protected RegisterDescriptionEntry add (int bitsize, String name, String altname, RegisterEncoding encoding, RegisterType type)

protected RegisterDescriptionEntry add (int bitsize, String name, String altname)