Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9065171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:26:10+00:00 2026-06-16T16:26:10+00:00

I think I understand the basic of stack memory, but I still do not

  • 0

I think I understand the basic of stack memory, but I still do not fully understand which is responsible for the mechanism for the way managing the stack – is it the compiler, the cpu architecture? is it programming language dependent?

For example, I read that in ARM there is tendency to reduce the use of stack in function calls, so arguments to functions are usually passed through 4 registers. However, it seems to me that this can be implemented using general purpose registers in other cpu’s as well. How can the architecture impose this demand?

Elsewhere I read that in FORTRAN 77 there is no use of the stack.

And there is the question of the stack growing upwards/downwards. who is responsible for it?

Overall I wish to know is it cpu dependent and how is it imposed? otherwise which is responsible for these decisions?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T16:26:11+00:00Added an answer on June 16, 2026 at 4:26 pm

    It can’t be imposed by the processor. Calling conventions are determined by the compiler, and most compilers will not break their language standard just to do this.

    The growth direction of the stack is determined by the processor as long as the process uses things like push/pop. If they access esp directly, they should follow, but don’t have too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think I understand the basic principals of T4 but I'm having a hard
I (think I) understand the purpose of dependency injection, but I'm just not getting
I'm learning C++ from book. I think I understand basic concept but the book
I think I do understand the basic IDEA of move semantics, but now when
I understand (I think) the basic idea behind RESTful-ness. Use HTTP methods semantically -
I think I understand strong typing , but every time I look for examples
So I (think I) understand the difference between Float, Double, and Decimal , but
I think I'm on the right track to understand the basic concepts of git.
I realize this is an incredibly obvious question, but I think that not understanding
I think I understand the basic concepts of MVC - the Model contains the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.