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 8528899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:54:21+00:00 2026-06-11T08:54:21+00:00

I have been playing with assembly and OS development for a while (in both

  • 0

I have been playing with assembly and OS development for a while (in both real and protected modes) and since I was working in kernel mode (“Ring 0” a.k.a “Full Privileges”) I always had to worry about setting up a stack before using stack instructions (push/pop).

Now I’ve been looking at user mode 32 bit assembly programs (for both windows and linux) and noticed that all the program examples I saw, simply used stack instructions without first setting a stack. What is the meaning of this? Does the OS sets the process stack itself before starting said process?

Thanks in advance,

João Silva.

  • 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-11T08:54:23+00:00Added an answer on June 11, 2026 at 8:54 am

    You gave the answer yourself already:

    It’s part of the system’s duty to provide all necessary memory, for code, global data (heap) and local data (stack).

    [update: This shouldn’t remain unmentioned: Once in a less privileged ring, as any user space application is usually, it would not easily be possible for this very user space application to setup a stack. It would have to make a system call in order to allocate it. But since about 99.999% of all applications require a stack, it is equally economic to provide a stack for all user space application in the first place, without forcing the developer to request it in each program. /update]

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

Sidebar

Related Questions

I have been playing around with GTK since a couple of days now,while going
I have been playing with Wordpress and jQuery - both new to me. The
I have been playing with Google maps I had it working but when I
I have been playing with this for a while, but the closest I have
i have been playing around with apache SOLR since last 3 weeks and very
I have been playing with mongodb for a while. I dont get the concept
I have been playing with NodeJS lately and i found myself stuck with a
I have been playing with Yii for a couple of months now, and to
I have been playing with Expect/TCL today and I was hoping someone can tell
I have been playing around with Google Apps Script today and I am trying

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.