1
CALLSYS
Nunuhara Cabbage edited this page 2019-11-06 21:57:49 -08:00

CALLSYS <no>

Instruction Arguments

int32 no - The syscall number

Stack Arguments

Varies depending on the system call.

Description

Call a System 4 built-in function.

Example

S_PUSH 0x3  ; put strings[3] on the stack
CALLSYS 0x6 ; call system.Output(strings[3]); prints strings[3]
S_POP       ; clean up