News for hackers. Stuff that matters.
Re:Intel fires warning shots at Microsoft, says x86 emulatio... by nayuki on Sunday June 11, 2017 @12:16PM (#14532522)
Actually, there is no 32-bit pop instruction in x86-64 mode. Your code won't work.
Re:Intel fires warning shots at Microsoft, says x86 emulatio... by gsg on Sunday June 11, 2017 @01:24PM (#14532795)
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).