forked from OSchip/llvm-project
15 lines
374 B
ArmAsm
15 lines
374 B
ArmAsm
; RUN: llvm-mc -triple avr -mattr=movw -show-encoding < %s | FileCheck %s
|
|
|
|
|
|
foo:
|
|
|
|
movw r10, r8
|
|
movw r12, r16
|
|
movw r20, r22
|
|
movw r8, r12
|
|
|
|
; CHECK: movw r10, r8 ; encoding: [0x54,0x01]
|
|
; CHECK: movw r12, r16 ; encoding: [0x68,0x01]
|
|
; CHECK: movw r20, r22 ; encoding: [0xab,0x01]
|
|
; CHECK: movw r8, r12 ; encoding: [0x46,0x01]
|