B2R2


IRHelper Module

Functions and values

Function or value Description

currentModeIsHyp ctxt

Full Usage: currentModeIsHyp ctxt

Parameters:
Returns: Expr

Returns TRUE if current mode is Hyp mode, on page B1-1142. function : CurrentModeIsHyp()

ctxt : TranslationContext
Returns: Expr

currentModeIsUserOrSystem ctxt

Full Usage: currentModeIsUserOrSystem ctxt

Parameters:
Returns: Expr

Returns TRUE if current mode is User or System mode, on page B1-1142. function : CurrentModeIsUserOrSystem()

ctxt : TranslationContext
Returns: Expr

getRegVar ctxt name

Full Usage: getRegVar ctxt name

Parameters:
Returns: Expr
ctxt : TranslationContext
name : Register
Returns: Expr

haveSecurityExt ()

Full Usage: haveSecurityExt ()

Parameters:
    () : unit

Returns: Expr

Returns TRUE if the implementation includes the Security Extensions, on page B1-1157. function : HaveSecurityExt()

() : unit
Returns: Expr

haveVirtExt ()

Full Usage: haveVirtExt ()

Parameters:
    () : unit

Returns: Expr

Returns TRUE if the implementation includes the Virtualization Extensions, on page AppxP-2660. function : HaveVirtExt()

() : unit
Returns: Expr

isBadMode modeM

Full Usage: isBadMode modeM

Parameters:
Returns: Expr

Test whether mode number is valid, on page B1-1142. function : BadMode()

modeM : Expr
Returns: Expr

isInstrSetARM ctxt

Full Usage: isInstrSetARM ctxt

Parameters:
Returns: Expr

Is this ARM instruction set, on page A2-51.

ctxt : TranslationContext
Returns: Expr

isInstrSetThumb ctxt

Full Usage: isInstrSetThumb ctxt

Parameters:
Returns: Expr

Is this Thumb instruction set, on page A2-51.

ctxt : TranslationContext
Returns: Expr

isInstrSetThumbEE ctxt

Full Usage: isInstrSetThumbEE ctxt

Parameters:
Returns: Expr

Is this ThumbEE instruction set, on page A2-51.

ctxt : TranslationContext
Returns: Expr

isSetCPSR_C ctxt

Full Usage: isSetCPSR_C ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

isSetCPSR_J ctxt

Full Usage: isSetCPSR_J ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

isSetCPSR_M ctxt

Full Usage: isSetCPSR_M ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

isSetCPSR_N ctxt

Full Usage: isSetCPSR_N ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

isSetCPSR_T ctxt

Full Usage: isSetCPSR_T ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

isSetCPSR_V ctxt

Full Usage: isSetCPSR_V ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

isSetCPSR_Z ctxt

Full Usage: isSetCPSR_Z ctxt

Parameters:
Returns: Expr
ctxt : TranslationContext
Returns: Expr

maskPSRForAbit

Full Usage: maskPSRForAbit

Returns: Expr

Gets the mask bits for fetching the A bit from the PSR. PSR bit[8]

Returns: Expr

maskPSRForCbit

Full Usage: maskPSRForCbit

Returns: Expr

Gets the mask bits for fetching the C condition flag from the PSR. PSR bit[29]

Returns: Expr

maskPSRForCondbits

Full Usage: maskPSRForCondbits

Returns: Expr

Gets the mask bits for fetching the condition flag bits from the PSR. PSR bit[31:28]

Returns: Expr

maskPSRForEbit

Full Usage: maskPSRForEbit

Returns: Expr

Gets the mask bits for fetching the E bit from the PSR. PSR bit[9]

Returns: Expr

maskPSRForFbit

Full Usage: maskPSRForFbit

Returns: Expr

Gets the mask bits for fetching the F bit from the PSR. PSR bit[6]

Returns: Expr

maskPSRForGEbits

Full Usage: maskPSRForGEbits

Returns: Expr

Gets the mask bits for fetching the GE[3:0] bits from the PSR. PSR bits[19:16]

Returns: Expr

maskPSRForIT10bits

Full Usage: maskPSRForIT10bits

Returns: Expr

Gets the mask bits for fetching the IT[1:0] bits from the PSR. PSR bits[26:25]

Returns: Expr

maskPSRForIT72bits

Full Usage: maskPSRForIT72bits

Returns: Expr

Gets the mask bits for fetching the IT[7:2] bits from the PSR. PSR bits[15:10]

Returns: Expr

maskPSRForIbit

Full Usage: maskPSRForIbit

Returns: Expr

Gets the mask bits for fetching the I bit from the PSR. PSR bit[7]

Returns: Expr

maskPSRForJbit

Full Usage: maskPSRForJbit

Returns: Expr

Gets the mask bits for fetching the J bit from the PSR. PSR bit[24]

Returns: Expr

maskPSRForMbits

Full Usage: maskPSRForMbits

Returns: Expr

Gets the mask bits for fetching the M[4:0] bits from the PSR. PSR bits[4:0]

Returns: Expr

maskPSRForNbit

Full Usage: maskPSRForNbit

Returns: Expr

Gets the mask bits for fetching the N condition flag from the PSR. PSR bit[31]

Returns: Expr

maskPSRForQbit

Full Usage: maskPSRForQbit

Returns: Expr

Gets the mask bits for fetching the Q bit from the PSR. PSR bit[27]

Returns: Expr

maskPSRForTbit

Full Usage: maskPSRForTbit

Returns: Expr

Gets the mask bits for fetching the T bit from the PSR. PSR bit[5]

Returns: Expr

maskPSRForVbit

Full Usage: maskPSRForVbit

Returns: Expr

Gets the mask bits for fetching the V condition flag from the PSR. PSR bit[28]

Returns: Expr

maskPSRForZbit

Full Usage: maskPSRForZbit

Returns: Expr

Gets the mask bits for fetching the Z condition flag from the PSR. PSR bits[30]

Returns: Expr