1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-17 21:18:27 +00:00
bddisasm/bddisasm_test/x86/special/movcrdr_64.asm
BITDEFENDER\vlutas 9ba1e6a2f9 Added support for new Intel instructions, per Intel ISA extensions document #319433-046 (September 2022): PREFETCHITI, RAO-INT, CMPCCXADD, WRMSRNS, MSRLIST, AMX-FP16, AVX-IFMA, AVX-NE-CONVERT, AVX-VNNI-INT8.
Multiple minor fixes to existing instructions.
Moved x86 decoding tests in a separate directory & improved the test script.
2022-10-04 12:22:59 +03:00

19 lines
1.1 KiB
NASM

bits 64
; MOV cr/dr encoded with memory simply forces the r/m to register. No memory is interpreted.
db 0x0F, 0x20, 0xC0 ; MOV rax, cr0
db 0x0F, 0x20, 0x00 ; MOV rax, cr0
db 0x0F, 0x20, 0x40, 0x90 ; MOV rax, cr0 followed by NOP
db 0x0F, 0x20, 0x80, 0x90, 0x90, 0x90, 0x90 ; MOV rax, cr0 followed by 4 x NOP
db 0x0F, 0x21, 0xC0
db 0x0F, 0x21, 0x00
db 0x0F, 0x21, 0x40, 0x90
db 0x0F, 0x21, 0x80, 0x90, 0x90, 0x90, 0x90
db 0x0F, 0x22, 0xC0
db 0x0F, 0x22, 0x00
db 0x0F, 0x22, 0x40, 0x90
db 0x0F, 0x22, 0x80, 0x90, 0x90, 0x90, 0x90
db 0x0F, 0x23, 0xC0
db 0x0F, 0x23, 0x00
db 0x0F, 0x23, 0x40, 0x90
db 0x0F, 0x23, 0x80, 0x90, 0x90, 0x90, 0x90