microprobe.target.isa.register_type.GenericRegisterType

class GenericRegisterType(rtype: str, rdescr: str, rsize: int, u4aa: bool, u4fa: bool, u4va: bool)[source]

Bases: RegisterType

A class to represent a register type. Each register type is identified by its type, its size in bits and also its semantic properites (e.g. if they are used for address arithmetic, or for floating point cumpations, etc.) .

Parameters:
  • rtype (str) – Register type name

  • rdescr (str) – Register type description

  • rsize (int) – Register size in bits

__init__(rtype: str, rdescr: str, rsize: int, u4aa: bool, u4fa: bool, u4va: bool)[source]
Parameters:
  • rtype

  • rdescr

  • rsize

  • u4aa

  • u4fa

  • u4va

Methods

__init__(rtype, rdescr, rsize, u4aa, u4fa, u4va)

param rtype:

Attributes

description

Register type description (str)

name

Register type name (str)

size

Register type size in bits (:int)

used_for_address_arithmetic

used_for_float_arithmetic

used_for_vector_arithmetic




property name

Register type name (str)

property description

Register type description (str)

property size

Register type size in bits (:int)

property used_for_address_arithmetic
property used_for_float_arithmetic
property used_for_vector_arithmetic