start work on fuction parameters

This commit is contained in:
Quentin Carbonneaux 2015-09-17 19:29:49 -04:00
parent bca7e0c32d
commit c298820211
3 changed files with 146 additions and 58 deletions

View file

@ -81,7 +81,7 @@ Next:
break;
case RSlot:
Slot:
fprintf(f, "-%d(%%rbp)", 4 * ref.val);
fprintf(f, "%d(%%rbp)", -4 * ref.val);
break;
case RCon:
fputc('$', f);