[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-movw.s
blob6d63bca35d92fa64de190735fa5014f1cfb75038
1 ; RUN: llvm-mc -triple avr -mattr=movw -show-encoding < %s | FileCheck %s
4 foo:
6 movw r10, r8
7 movw r12, r16
8 movw r20, r22
9 movw r8, r12
11 ; CHECK: movw r10, r8 ; encoding: [0x54,0x01]
12 ; CHECK: movw r12, r16 ; encoding: [0x68,0x01]
13 ; CHECK: movw r20, r22 ; encoding: [0xab,0x01]
14 ; CHECK: movw r8, r12 ; encoding: [0x46,0x01]