rust-lang/project-inline-asm

`k` template modifier in x86

Closed this issue · 2 comments

I don't know if this is the place for such comments, but:
What is the reason for using k as the modifier for getting the 32-bit version of the register (i.e. eax), instead of the common d (for dword)? This matches using w for the word and q for the qword versions.

The latest version of the RFC is at rust-lang/rfcs#2850. The one in this repo is out of date. I have changed the modifiers to make them more consistent in the updated RFC.

Cool, thanks!