목록2025/02/10 (1)
엔지니어가 되고 싶은 공돌이
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/SXS6H/btsMdG8NKQP/HZiVtOaP4ssnMv0z8EHr11/img.jpg)
8. 1. Stack - Process에서 Data는 Stack에서 관리합니다. - pushl: %esp 레지스터에서 4(64bit 컴퓨터는 %rsp 레지스터에서 8)를 감소시키고, 스택에 지정한 레지스터의 값을 넣습니다. - popl: 스택의 값을 레지스터에 넣고, %esp 레지스터에서 4(64bit 컴퓨터는 %rsp 레지스터에서 8)를 증가시킵니다. 8. 2. Procedures - Procedure Call(call label): stack에 return address(현재 PC 값)를 push하고, Label로 Jump합니다. - Procedure Return(ret): stack에서 return address를 pop하고, retrurn adderss로 Jump합니다. - Call..
Computer Science/System Programming
2025. 2. 10. 23:52