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

RETURN

Instruction Arguments

None.

Stack Arguments

The value to return from the function, or none if the function returns void.

Description

Return from a function.

Example

FUNC 0x1    ; start of function
PUSH 0x123  ; stack: [0x123]
RETURN      ; return 0x123
ENDFUNC 0x1 ; end of function