Code Monkey home page Code Monkey logo

Comments (3)

taeseunglee avatar taeseunglee commented on July 17, 2024

난 그게 맞다고 생각함 밑에서 위로 쌓이니까?

from cminus.

juice500ml avatar juice500ml commented on July 17, 2024

int localCodeGen()의
ArrayK
VariableK의 IntArrayT
와 dependent한 문제임.

이유는, arr[n]이라고 치면
VariableK의 IntArrayT에서 해당 array의 global 주소값을 넘기고, ArrayK에서는 해당 주소값 + sizeof(int) * n 을 접근해서 갖고옴. 문서에 언급이 되어있었던 것 같음. 확인 바람 @taeseunglee

from cminus.

taeseunglee avatar taeseunglee commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.