Skip to main content
13 events
when toggle format what by license comment
Nov 9, 2021 at 22:54 vote accept moonman239
Dec 6, 2015 at 23:38 history tweeted twitter.com/StackProgrammer/status/673647785124749312
Dec 6, 2015 at 7:30 comment added Craig Estey Hmm, most of the variables stored on the heap? If you're coming from Java and relatively new to C, I added a primer and some reference links in an answer I gave here: stackoverflow.com/questions/33661457/… There's even a link there to a page that shows C memory layout.
S Dec 5, 2015 at 11:01 history suggested Dan Oberlam CC BY-SA 3.0
Fix formatting
Dec 5, 2015 at 10:19 review Suggested edits
S Dec 5, 2015 at 11:01
Dec 5, 2015 at 8:16 answer added Netch timeline score: 4
Dec 5, 2015 at 0:34 answer added Mike Nakis timeline score: 3
Dec 5, 2015 at 0:20 answer added jonk timeline score: 11
Dec 5, 2015 at 0:06 comment added moonman239 @lxrec: Thanks. I come from a language where most of the variables we use are stored on the heap.
Dec 5, 2015 at 0:03 history edited moonman239 CC BY-SA 3.0
deleted 320 characters in body
Dec 5, 2015 at 0:03 comment added Ixrec Yeah, that's pretty much how it works. For example, mov eax, [esp-8] moves the 4-byte value located 8 bytes below the stack pointer into register EAX. cs.virginia.edu/~evans/cs216/guides/x86.html has some good vizualizations of how these variables get laid out.
Dec 5, 2015 at 0:03 history edited moonman239 CC BY-SA 3.0
deleted 320 characters in body
Dec 4, 2015 at 23:56 history asked moonman239 CC BY-SA 3.0