mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Start building a Thumb1 decoding test file based on the Thumb1 parsing/encoding test file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137840 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0aa38ab1fb
commit
4c81cf5dfc
30
test/MC/Disassembler/ARM/thumb1.txt
Normal file
30
test/MC/Disassembler/ARM/thumb1.txt
Normal file
@ -0,0 +1,30 @@
|
||||
# RUN: llvm-mc -triple=thumbv6-apple-darwin -disassemble < %s | FileCheck %s
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ADC (register)
|
||||
#------------------------------------------------------------------------------
|
||||
# CHECK: adcs r4, r6
|
||||
|
||||
0x74 0x41
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ADD (immediate)
|
||||
#------------------------------------------------------------------------------
|
||||
# CHECK: adds r1, r2, #3
|
||||
# CHECK: adds r2, r2, #3
|
||||
# CHECK: adds r2, #8
|
||||
|
||||
0xd1 0x1c
|
||||
0xd2 0x1c
|
||||
0x08 0x32
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ADD (register)
|
||||
#------------------------------------------------------------------------------
|
||||
# CHECK: adds r1, r2, r3
|
||||
# CHECK: add r2, r8
|
||||
|
||||
0xd1 0x18
|
||||
0x42 0x44
|
Loading…
Reference in New Issue
Block a user