1
ASSERT
Nunuhara Cabbage edited this page 2022-06-30 14:30:18 -07:00

ASSIGN

Instruction Arguments

None.

Stack Arguments

int32 val - The value of the expression
int32 expr - The expression as a string
int32 file - The name of the source file containing the assertion
int32 line - The line number of the assertion

Description

Halt execution if the value is zero.

Example

; assert(0);
PUSH 0
S_PUSH "0"
S_PUSH "test.jaf"
PUSH 0x123
ASSERT