Curle
59329d963f
Currently has two bugs. First, all functions are resolved to index 0 (currently PrintInteger) Second, the register used for returning is immediately overwritten by the next allocated register. This means addition of function return values is a little silly. Also, commit signing!
15 lines
194 B
Plaintext
15 lines
194 B
Plaintext
int :: Testings() {
|
|
return (40);
|
|
}
|
|
|
|
void :: main() {
|
|
int Result;
|
|
|
|
PrintInteger(10);
|
|
|
|
Result = Testings(10);
|
|
|
|
PrintInteger(Result);
|
|
|
|
PrintInteger(Testings(10) + 10);
|
|
} |