io
print_dec
Parameters: cell value
Prints the given value as decimal to stdout
print_hex
Parameters: cell value
Prints the given value as hexadecimal to stdout
print_str
Parameters: Array* str
Prints the given string to stdout
print_bool
Parameters: bool value
Prints the given boolean as "true" or "false" to stdout
new_line
Parameters:
Prints a new line to stdout
printf
Parameters: ..., Array* fmt
Prints a formatted string (fmt
) to stdout, format values are in reverse order of
how they are written
Formats:
%s
- String (Array*
)%d
- Decimal (cell
)%X
- Hexadecimal (cell
)
read_line
Parameters: ptr Vector res
Reads from stdin to res