mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
4ee72398a1
In thumb1, NOP is a pseudo-instruction equivalent to mov r8, r8. However the disassembler should not use this alias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184703 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
371 B
ArmAsm
10 lines
371 B
ArmAsm
@ RUN: llvm-mc -triple=thumbv6-apple-darwin -show-encoding < %s | FileCheck %s -check-prefix=CHECK-V6
|
|
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding < %s | FileCheck %s -check-prefix=CHECK-V7
|
|
|
|
.syntax unified
|
|
|
|
nop
|
|
|
|
@ CHECK-V6: mov r8, r8 @ encoding: [0xc0,0x46]
|
|
@ CHECK-V7: nop @ encoding: [0x00,0xbf]
|