nasm/test/invlpga.asm
H. Peter Anvin fc565dd362 Implement INVLPGA according to the documentation
INVLPGA is defined as taking rax,ecx but "the portion of rax used to
form the address is determined by the effective address size", so it
is really ax/eax/rax.
2007-09-22 22:35:28 -07:00

9 lines
103 B
NASM

bits 32
invlpga
invlpga ax,ecx
invlpga eax,ecx
bits 64
invlpga
invlpga eax,ecx
invlpga rax,ecx