old-DasOS/documentation/supervm-syscalls.md
2016-06-26 18:48:36 +02:00

488 B

SuperVM Syscall Definition

This document contains a list of pre-defined syscalls for the SuperVM.

0: Exit

This syscall quits the execution of the current program. It takes no inputs and does not output any value.

1: putc(char)

This syscalls prints a single ASCII character which is stored in Input0. It has no outputs.

2: puti(int)

This syscalls prints an unsigned integer which is stored in Input0. It has no outputs.

3:

4:

5:

6: