callb - Boolean call

callb - Boolean call

Calling Format

callb   src, label

Operands

Name Description
src A Boolean register.
label Label name.

Overview

Causes control to jump to the address of the specified label name when the specified Boolean register contains true.
Once code has been executed up to the ret instruction following the label address, execution will return to the address immediately after this instruction. You cannot call a label unless a ret instruction has been set for it.

You can nest call instructions (call, callc, and callb) up to four times. Behavior is undefined if these are nested five or more times.
Behavior is also undefined when a nested call instruction is invoked immediately before a ret instruction.

Operation

if ( src )
    call    label

Code Example

callb   b0, subfunction0

subfunction0:
..
ret

Revision History

2011/12/20
Initial version.

CONFIDENTIAL