• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc --disassemble %s -triple=i386 --output-asm-variant=1 | FileCheck %s
2
3# CHECK: sgdt opaque ptr [eax]
40x0f 0x01 0x00
5
6# CHECK: sidt opaque ptr [eax]
70x0f 0x01 0x08
8
9# CHECK: lgdt opaque ptr [eax]
100x0f 0x01 0x10
11
12# CHECK: lidt opaque ptr [eax]
130x0f 0x01 0x18
14
15# CHECK: mov al, byte ptr [878082192]
160xa0 0x90 0x78 0x56 0x34
17
18# CHECK: mov ax, word ptr [878082192]
190x66 0xa1 0x90 0x78 0x56 0x34
20
21# CHECK: mov eax, dword ptr [878082192]
220xa1 0x90 0x78 0x56 0x34
23
24# CHECK: mov byte ptr [878082192], al
250xa2 0x90 0x78 0x56 0x34
26
27# CHECK: mov word ptr [878082192], ax
280x66 0xa3 0x90 0x78 0x56 0x34
29
30# CHECK: mov dword ptr [878082192], eax
310xa3 0x90 0x78 0x56 0x34
32
33# CHECK: lea	cx, [si + 4]
340x67 0x66 0x8d 0x4c 0x04
35
36# CHECK: lea	ecx, [si + 4]
370x67 0x8d 0x4c 0x04
38
39# CHECK: lea	cx, [esp + 4]
400x66 0x8d 0x4c 0x24 0x04
41
42# CHECK: lea	ecx, [esp + 4]
430x8d 0x4c 0x24 0x04
44