some improvements i think

This commit is contained in:
2026-01-16 13:32:36 +02:00
parent 49adb21b81
commit c69f589439
16 changed files with 338 additions and 5 deletions

4
asmrigs/tests/001.b Normal file
View File

@@ -0,0 +1,4 @@
main()
{
}

4
asmrigs/tests/002.b Normal file
View File

@@ -0,0 +1,4 @@
main()
{
return 0;
}

4
asmrigs/tests/003.b Normal file
View File

@@ -0,0 +1,4 @@
main()
{
return 1 + 2 * 3
}

7
asmrigs/tests/004.b Normal file
View File

@@ -0,0 +1,7 @@
main()
{
auto a, b;
a = 10;
b = a + 5;
return b;
}

9
asmrigs/tests/005.b Normal file
View File

@@ -0,0 +1,9 @@
add(a,b)
{
return a + b;
}
main()
{
return add(2,3);
}