Hacker News new | ask | show | jobs
by nayuki 3296 days ago
Actually, there is no 32-bit pop instruction in x86-64 mode. Your code won't work.
1 comments

You're right: it should be pushq $1/pop %rax (which is also three bytes, although there will be a prefix byte for registers r8 through r15).