학교/프로그래밍언어론
chapter 10 implementing subprogram
ian_hodge
2016. 12. 10. 19:02
- call semantic
- caller의 현재 상태를 저장함
- 파라미터를 넘겨줌
- callee에게 return 주소를 줌
- called로 컨트롤을 넘겨줌
- return sematic
- pass by result이면 해당하는 파라미터에게 현재값을 넘겨줌
- functionㅇ라면 caller가 값을 가질 수있또록 functinal value를 설정함
- caller에 현재 상태를 복구함
- 컨트롤을 넘겨줌
- caller action on revised semantic
- 현재 진행중인 기록물을ㅇ 남겨둠
- 현재 상태를 저장함
- 파라미터를 계산함
- 주소를 callee에게 넘겨줌
- 컨트롤을 넘겨줌
- dynamic chain
- dynamic link의 모음