This commit is contained in:
nora 2025-03-08 17:00:21 +01:00
parent 7183421b8f
commit 29bb73425b
7 changed files with 423 additions and 23 deletions

11
test/init.c Normal file
View file

@ -0,0 +1,11 @@
void _start(void)
{
__asm__ volatile (
"li a7, 93;" // exit
"li a0, 0;" // code 0
"ecall"
:
:
: "a7", "a0", "memory"
);
}