Advertisement
Guest User

how stacks work

a guest
Oct 14th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MOV EAX, 20
  2. PUSH EAX ; Adds 20 to the stack (32 bits, many of which are zero)
  3. POP EBX ; EBX will have the value 20, and the stack will be restored to its former state
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement