Stack location

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Whatever5k

Stack location

Post by Whatever5k »

At which memory location should I place my stack? What's a good place for it? I am using GRUB, and my kernel is loaded at 1MB.
Warmaster199

Re:Stack location

Post by Warmaster199 »

Put the stack into the 64KBytes under your kernel. Either that spot or the 1MByte mark seem like the most common areas. If not, then why not put the stack at the bottom(64KBytes at 0000:0000)?
Post Reply