Closed juice500ml closed 7 years ago
https://courses.cs.washington.edu/courses/cse410/09sp/examples/MIPSCallingConventionsSummary.pdf 위 convention을 따라가는 중. 단, function 내의 local decl을 먼저 alloc해주지는 않았음. 이 외에는 모두 동일. 그런데 caller이랑 callee에서 어떻게 파라미터 넘겨줄지 아직 fix가 안됐음...
0ccf615 에서 fix 시킴. callee단의 stack에 쌓이고 caller은 fp+0, fp+4, ... 으로 접근.
@juice500ml @taeseunglee Project 4 구현 끝난듯. boss.c 까지 통과 확인 완료.
If
While
Function call
System call
Misc.
main 함수 explicit하게 불러주어야 하나?