# Interface: com.pnfsoftware.jeb.core.units.code.asm.processor.IRegisterBank

A layout definition for a bank of registers. 

 Bank layout for common processors are defined in the `arch` sub\-package.

## Method: format
- parameter: `type`, type: `int`
- return type: `java.lang.String`

Description: Format the register bank as a string.
parameter: type: 0: short\-form \(i.e., [#toString()](#toString())\), 1: user\-friendly long\-form
return: the formatted bank

## Method: getAllDescriptionEntries
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry>`

Description: Get the list of all \(full and slices\) register entries.
return: 

## Method: getCountOfDescriptionEntries
- return type: `int`

Description: Get the number of fill register entries. Slices are not counted.
return: 

## Method: getDescriptionEntries
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry>`

Description: Get the list of full register entries. Slices are not returned.
return: 

## Method: getDescriptionEntry
- parameter: `regnum`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`

Description: Get a full register entry by index \(do not confuse with id\). Slices cannot be retrieved.
parameter: regnum: 
return: 

## Method: getDescriptionEntryById
- parameter: `id`, type: `long`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`

Description: Get a register entry \(full or slice\) by id \(do not confuse with index\).
parameter: id: 
return: 

## Method: getDescriptionEntryByName
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`

Description: Get a register entry \(full or slice\) by name.
parameter: name: 
return: 

## Method: getDescriptionEntryByName
- parameter: `names`, type: `java.util.Collection<java.lang.String>`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`

Description: Get a register entry \(full or slice\) by name, using a list of candidate names. Useful when a register goes by different names.
parameter: names: candidate names
return: 

## Method: getDescriptionEntryByType
- parameter: `type`, type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterType`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterDescriptionEntry`

Description: Get a full register entry by type. Slices cannot be retrieved.
parameter: type: 
return: 

