Hacker News new | ask | show | jobs
by wolfgke 3685 days ago
> I was surprised to read that x64 apparently doesn't allow pushing or popping 32-bit values.

A simple way to circumvent this problem (I don't claim it is the best) is

  sub rsp, 4
  mov eax, [rsp]
where eax of course contains the value to push.