Comments (3)
난 그게 맞다고 생각함 밑에서 위로 쌓이니까?
from cminus.
int localCodeGen()의
ArrayK
VariableK의 IntArrayT
와 dependent한 문제임.
이유는, arr[n]이라고 치면
VariableK의 IntArrayT에서 해당 array의 global 주소값을 넘기고, ArrayK에서는 해당 주소값 + sizeof(int) * n 을 접근해서 갖고옴. 문서에 언급이 되어있었던 것 같음. 확인 바람 @taeseunglee
from cminus.
Above the text segment is the data segment (starting at 0x10000000), which is divided into
two parts. The static data portion contains objects whose size and address are known to the compiler and linker. Immediately above these objects is dynamic data.
As a program allocates space dynamically (i.e., by malloc), the sbrk system call moves the top of the data segment up.
요래서 더해가면 될 듯!
from cminus.
Related Issues (20)
- [Project 3] analyze.c typeCheck 구현.
- [Project 3] TraceAnalyze 변수 HOT 4
- TODO 다 처리하기 HOT 1
- [Project 3] VariableK 관련 이슈. HOT 2
- Makefile 관련 issue들 HOT 5
- [Project 3] NodeType --> ExpType
- [Project 3] _var vs _id
- st_insert parameter tree_node not really needed.
- Bug들... HOT 1
- [Project 3] Refactoring
- SPIM Implementations HOT 3
- localCodeGen VariableK case 전역변수인 경우와 지역변수인 경우 나누기
- return 시점에 stack 정리하는 문제
- input, output 문제
- project3 에서 symbolInfo로 typecheck한거 바꾸기 HOT 1
- expectedRetType
- [Project 3] Makefile이 왜 2개?? HOT 1
- [Project 2] 광희가 짠 project 2부분에 버그가 있는 듯. HOT 3
- [Project 3] printSymTab 출력 형식
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cminus.