More fixing of functions logic wip

This commit is contained in:
2024-05-17 23:20:02 +01:00
parent 533471ac72
commit 2c376feb1d
+2 -2
View File
@@ -4,7 +4,7 @@
using namespace std;
int callCounter = 0;
int callCounter = 1;
string translateFunction(string name, int args)
{
@@ -12,7 +12,7 @@ string translateFunction(string name, int args)
output << "(" << name << ")" << endl;
for (int i = 0; i < args; i++)
for (int i = 0; i < args; ++i)
{
output << "@0" << endl;
output << "D=A" << endl;