hertaehoon
2022. 12. 21. 16:10
2022. 12. 21. 16:10
Service |
Code in $v0 |
Arguments |
Result |
print integer |
1 |
$a0 = integer to print |
|
print float |
2 |
$f12 = float to print |
|
print double |
3 |
$f12 = double to print |
|
print string |
4 |
$a0 = address of null |
|
read integer |
5 |
|
$v0 contains integer read |
read float |
6 |
|
$v0 contains float read |
read double |
7 |
|
$v0 contains double read |
read string |
8 |
$a0 = address of input buffer |
|
read string |
8 |
$a1 = maximum number of characters to read |
|
sbrk(allocate heap memory) |
9 |
$a0 = number of bytes to allocate |
|