CALLZ (call if zero)

Begins execution of procedure if given value is zero.

Syntax

CALLZ1 address [in,4i(addr)], value [in,1] ;code:92
CALLZ2 address [in,4i(addr)], value [in,2] ;code:93
CALLZ4 address [in,4i(addr)], value [in,4] ;code:94
CALLZ8 address [in,4i(addr)], value [in,8] ;code:95

Description

This instruction modifies control flow by setting IP to the given address, but only if given value is zero. In this case, execution will continue from this address.

If the value is zero, address of the next instruction after the CALL is pushed to the stack, so that you can return from procedure.