assembly - assembler: values on heap -


i have very simple program in assembler at&t:

.text .global main  main:     push $1     push $1     mov $1, %eax     int $0x80 

i wanted see, values on heap. i'm using gdb> x/3xw $sp get:

0x7fffffffdd40: 0x00000001  0x00000000  0x00000001 

0x00000000 - did come from?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -