mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
82f131a017
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140974 91177308-0d34-0410-b5e6-96231b3b80d8
80 lines
1.0 KiB
Plaintext
80 lines
1.0 KiB
Plaintext
# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 -x86-asm-syntax=intel | FileCheck %s
|
|
|
|
# CHECK: movsb
|
|
0xa4
|
|
|
|
# CHECK: movsw
|
|
0x66 0xa5
|
|
|
|
# CHECK: movsd
|
|
0xa5
|
|
|
|
# CHECK: movsq
|
|
0x48 0xa5
|
|
|
|
# CHECK: pop FS
|
|
0x0f 0xa1
|
|
|
|
# CHECK: pop GS
|
|
0x0f 0xa9
|
|
|
|
# CHECK: in AL, DX
|
|
0xec
|
|
|
|
# CHECK: nop
|
|
0x90
|
|
|
|
# CHECK: xchg EAX, R8D
|
|
0x41 0x90
|
|
|
|
# CHECK: xchg RAX, R8
|
|
0x49 0x90
|
|
|
|
# CHECK: add AL, 0
|
|
0x04 0x00
|
|
|
|
# CHECK: add AX, 0
|
|
0x66 0x05 0x00 0x00
|
|
|
|
# CHECK: add EAX, 0
|
|
0x05 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: add RAX, 0
|
|
0x48 0x05 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: adc AL, 0
|
|
0x14 0x00
|
|
|
|
# CHECK: adc AX, 0
|
|
0x66 0x15 0x00 0x00
|
|
|
|
# CHECK: adc EAX, 0
|
|
0x15 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: adc RAX, 0
|
|
0x48 0x15 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: cmp AL, 0
|
|
0x3c 0x00
|
|
|
|
# CHECK: cmp AX, 0
|
|
0x66 0x3d 0x00 0x00
|
|
|
|
# CHECK: cmp EAX, 0
|
|
0x3d 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: cmp RAX, 0
|
|
0x48 0x3d 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: test AL, 0
|
|
0xa8 0x00
|
|
|
|
# CHECK: test AX, 0
|
|
0x66 0xa9 0x00 0x00
|
|
|
|
# CHECK: test EAX, 0
|
|
0xa9 0x00 0x00 0x00 0x00
|
|
|
|
# CHECK: test RAX, 0
|
|
0x48 0xa9 0x00 0x00 0x00 0x00
|