xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/X86/intel-syntax-32.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc --disassemble %s -triple=i386 --output-asm-variant=1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# CHECK: sgdt opaque ptr [eax]
4*9880d681SAndroid Build Coastguard Worker0x0f 0x01 0x00
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker# CHECK: sidt opaque ptr [eax]
7*9880d681SAndroid Build Coastguard Worker0x0f 0x01 0x08
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker# CHECK: lgdt opaque ptr [eax]
10*9880d681SAndroid Build Coastguard Worker0x0f 0x01 0x10
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker# CHECK: lidt opaque ptr [eax]
13*9880d681SAndroid Build Coastguard Worker0x0f 0x01 0x18
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard Worker# CHECK: mov al, byte ptr [878082192]
16*9880d681SAndroid Build Coastguard Worker0xa0 0x90 0x78 0x56 0x34
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker# CHECK: mov ax, word ptr [878082192]
19*9880d681SAndroid Build Coastguard Worker0x66 0xa1 0x90 0x78 0x56 0x34
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard Worker# CHECK: mov eax, dword ptr [878082192]
22*9880d681SAndroid Build Coastguard Worker0xa1 0x90 0x78 0x56 0x34
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker# CHECK: mov byte ptr [878082192], al
25*9880d681SAndroid Build Coastguard Worker0xa2 0x90 0x78 0x56 0x34
26*9880d681SAndroid Build Coastguard Worker
27*9880d681SAndroid Build Coastguard Worker# CHECK: mov word ptr [878082192], ax
28*9880d681SAndroid Build Coastguard Worker0x66 0xa3 0x90 0x78 0x56 0x34
29*9880d681SAndroid Build Coastguard Worker
30*9880d681SAndroid Build Coastguard Worker# CHECK: mov dword ptr [878082192], eax
31*9880d681SAndroid Build Coastguard Worker0xa3 0x90 0x78 0x56 0x34
32*9880d681SAndroid Build Coastguard Worker
33*9880d681SAndroid Build Coastguard Worker# CHECK: lea	cx, [si + 4]
34*9880d681SAndroid Build Coastguard Worker0x67 0x66 0x8d 0x4c 0x04
35*9880d681SAndroid Build Coastguard Worker
36*9880d681SAndroid Build Coastguard Worker# CHECK: lea	ecx, [si + 4]
37*9880d681SAndroid Build Coastguard Worker0x67 0x8d 0x4c 0x04
38*9880d681SAndroid Build Coastguard Worker
39*9880d681SAndroid Build Coastguard Worker# CHECK: lea	cx, [esp + 4]
40*9880d681SAndroid Build Coastguard Worker0x66 0x8d 0x4c 0x24 0x04
41*9880d681SAndroid Build Coastguard Worker
42*9880d681SAndroid Build Coastguard Worker# CHECK: lea	ecx, [esp + 4]
43*9880d681SAndroid Build Coastguard Worker0x8d 0x4c 0x24 0x04
44