RETNZ (return if not zero)

Returns from procedure if given value is not zero.

Syntax

RETNZ1 value [in,1] ;code:105
RETNZ2 value [in,2] ;code:106
RETNZ4 value [in,4] ;code:107
RETNZ8 value [in,8] ;code:108

Description

This instruction modifies control flow by setting IP to the address popped from the stack, but only if given value is not zero. In this case, execution will continue from this address. This instruction allows you to return from execution a procedure.