You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
299 B
6 lines
299 B
3 years ago
|
# Runtime support function heap.init.
|
||
|
mv a1, a0 # Move requested size to A1
|
||
|
li a0, @sbrk # Code for ecall: sbrk
|
||
|
ecall # Request A1 bytes
|
||
|
jr ra # Return to caller
|