Hacker News new | ask | show | jobs
by tlb 1855 days ago
Why does the pop at the end of:

  push sp
  mov sp, myPrivateSP
  ...
  pop sp
work? Isn't it popping from the private stack, while it was pushed on the regular stack?
1 comments

Oh, good catch! I was doing this from memory, and definitely have a bug there.

Updated now, hopefully this will be a more plausible example. Let me know if you spot something else! :-)