# Class: com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank2
- Super class: `com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank`

Abstract class to create a processors' register banks.  

  Usage: extend this class; use the non\-static `add` methods \(see: [add](#add(int, String)), [add](#add(int, String, String)),  [add](#add(int, String, String, RegisterEncoding, RegisterType))\) to add register  definitions to the bank.  

  Note: this class supersedes [AbstractRegisterBank](com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank.md); it is recommended to use this class  instead of [AbstractRegisterBank](com.pnfsoftware.jeb.core.units.code.asm.processor.arch.AbstractRegisterBank.md) to define new register banks.

## Constructor: AbstractRegisterBank2 (no-arg)


## Protected Final Field: entries
Type: `java.util.Map<java.lang.Integer,com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry>`

## Protected Method: add
- parameter: `bitsize`, type: `int`
- parameter: `name`, type: `java.lang.String`
- parameter: `altname`, type: `java.lang.String`
- parameter: `encoding`, type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterEncoding`
- parameter: `type`, type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterType`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`


## Protected Method: add
- parameter: `bitsize`, type: `int`
- parameter: `name`, type: `java.lang.String`
- parameter: `altname`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`


## Protected Method: add
- parameter: `bitsize`, type: `int`
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`


## Method: getDescriptionEntryMap
- return type: `java.util.Map<java.lang.Integer,com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry>`


