Header menu logo B2R2

RegisterID Module

Provides a function to create a RegisterID. Although it is essentially an integer, we internally use a "unit of measure" to represent it, meaning that one needs to go through this module in order to create a new ID.

Functions and values

Function or value Description

RegisterID.create n

Full Usage: RegisterID.create n

Parameters:
    n : int

Returns: int<MeasureProduct<T, MeasureOne>>
Modifiers: inline

Create a platform-independent register ID representation.

n : int
Returns: int<MeasureProduct<T, MeasureOne>>

Type something to start searching.