24 lines
488 B
Markdown
24 lines
488 B
Markdown
|
# 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:
|