Implemented multiple return values

This commit is contained in:
Eduard Urbach 2024-08-05 12:39:07 +02:00
parent b124915119
commit 14e2aa0588
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 113 additions and 35 deletions

View file

@ -69,6 +69,7 @@ func (f *Function) CompileCall(root *expression.Expression) error {
return err
}
// TODO: Save all return value registers of the function
f.SaveRegister(f.CPU.Output[0])
// Push