Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- instruction
- DS
- architecture
- XML
- MIPS
- github
- for
- system
- python
- CSS
- html
- Pipelining
- DoM
- php
- DATAPATH
- Linux
- web
- Class
- mysql
- control
- computer
- react
- Algorithm
- data structure
- DB
- MacOS
- Java
- function
- while
- javascript
Archives
- Today
- Total
목록layout (1)
YYYEJI
[CA] Simple Memory Layout
간단하게 메모리 레이아웃에 대해서 설명해 드리겠습니다. Stack ↓ ↑ Dynamic data Static data Text Reserved ↑↑↑ Memory Layout ↑↑↑ ✓ Reserved는 op가 접근하는 부분으로 우리가 접근하려고 하면 error가 뜹니다. ✓ Text는 program code가 저장되어 있습니다. ✓ Static data에는 global variable이 저장되어 있습니다. ✓ Dynamic data는 heap 공간으로 새로운 공간이 malloc되고 free 되는 공간입니다. ✓ Stack은 function call이 일어날 때 사용되는 공간입니다. (automatic storage로 function에서 사용되는 register의 값들이 저장될 때 사용됩니다.) ◡̈
Computer architectures
2022. 10. 13. 14:21