• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 -x86-asm-syntax=intel | FileCheck %s
2
3# CHECK: movsb
40xa4
5
6# CHECK: movsw
70x66 0xa5
8
9# CHECK: movsd
100xa5
11
12# CHECK: movsq
130x48 0xa5
14
15# CHECK: pop FS
160x0f 0xa1
17
18# CHECK: pop GS
190x0f 0xa9
20
21# CHECK: in AL, DX
220xec
23
24# CHECK: nop
250x90
26
27# CHECK: xchg EAX, R8D
280x41 0x90
29
30# CHECK: xchg RAX, R8
310x49 0x90
32
33# CHECK: add AL, 0
340x04 0x00
35
36# CHECK: add AX, 0
370x66 0x05 0x00 0x00
38
39# CHECK: add EAX, 0
400x05 0x00 0x00 0x00 0x00
41
42# CHECK: add RAX, 0
430x48 0x05 0x00 0x00 0x00 0x00
44
45# CHECK: adc AL, 0
460x14 0x00
47
48# CHECK: adc AX, 0
490x66 0x15 0x00 0x00
50
51# CHECK: adc EAX, 0
520x15 0x00 0x00 0x00 0x00
53
54# CHECK: adc RAX, 0
550x48 0x15 0x00 0x00 0x00 0x00
56
57# CHECK: cmp AL, 0
580x3c 0x00
59
60# CHECK: cmp AX, 0
610x66 0x3d 0x00 0x00
62
63# CHECK: cmp EAX, 0
640x3d 0x00 0x00 0x00 0x00
65
66# CHECK: cmp RAX, 0
670x48 0x3d 0x00 0x00 0x00 0x00
68
69# CHECK: test AL, 0
700xa8 0x00
71
72# CHECK: test AX, 0
730x66 0xa9 0x00 0x00
74
75# CHECK: test EAX, 0
760xa9 0x00 0x00 0x00 0x00
77
78# CHECK: test RAX, 0
790x48 0xa9 0x00 0x00 0x00 0x00
80