3 ms·
> 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
by wolfgke 10y 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.