3 ms·
That's not valid in standard 32bit x86 assembly, is it? So in fact this is actually x86_64 / amd64 assembly, almost a different architecture. Edit: It is not v
by 0x0 14y ago
That's not valid in standard 32bit x86 assembly, is it? So in fact this is actually x86_64 / amd64 assembly, almost a different architecture.
Edit: It is not valid according to http://www.codeproject.com/Articles/45788/The-Real-Protected-Long-mode-assembly-tutorial-for http://www.codeproject.com/Articles/45788/The-Real-Protected... - so headlining with "x86" is misleading at best.
- technogeek00 14y agoCorrect the %r8 - %r15 registers were added by the x86_64 architecture and are 64-bit in length just as the others are now. They are commonly used for passing arguments to functions.
- mjb 14y agoThe memory semantics are standard x86, but you are right that the registers are from x86_64 (and 64 bit mode at that). I'll update the article to clarify that point.