B2R2


WordSize Module

A helper module for the WordSize type.

Functions and values

Function or value Description

bitTypeOfString _arg1

Full Usage: bitTypeOfString _arg1

Parameters:
    _arg1 : string

Returns: WordSize
_arg1 : string
Returns: WordSize

is128 wordSz

Full Usage: is128 wordSz

Parameters:
Returns: bool

Is the given word size 128 bit?

wordSz : WordSize
Returns: bool

is256 wordSz

Full Usage: is256 wordSz

Parameters:
Returns: bool

Is the given word size 256 bit?

wordSz : WordSize
Returns: bool

is32 wordSz

Full Usage: is32 wordSz

Parameters:
Returns: bool

Is the given word size 32 bit?

wordSz : WordSize
Returns: bool

is64 wordSz

Full Usage: is64 wordSz

Parameters:
Returns: bool

Is the given word size 64 bit?

wordSz : WordSize
Returns: bool

toByteWidth wordSize

Full Usage: toByteWidth wordSize

Parameters:
Returns: int32

Transform a word size into a byte length.

wordSize : WordSize
Returns: int32

toRegType _arg1

Full Usage: toRegType _arg1

Parameters:
Returns: int<MeasureProduct<rt, MeasureOne>>

Transform a word size into a RegType.

_arg1 : WordSize
Returns: int<MeasureProduct<rt, MeasureOne>>

toString wordSz

Full Usage: toString wordSz

Parameters:
Returns: string

Transform a word size into a string.

wordSz : WordSize
Returns: string