[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / syntax-reg-pair.s
blobb4676cca089d7a58bba2ed0f2dac31b844bb1ac8
1 ; RUN: llvm-mc -triple avr -mattr=addsubiw -show-encoding < %s | FileCheck %s
3 foo:
5 sbiw r24, 1
6 sbiw r25:r24, 2
7 sbiw r24, 2
8 sbiw r27:r26, 3
10 ; CHECK: sbiw r24, 1 ; encoding: [0x01,0x97]
11 ; CHECK: sbiw r24, 2 ; encoding: [0x02,0x97]
12 ; CHECK: sbiw r24, 2 ; encoding: [0x02,0x97]
13 ; CHECK: sbiw r26, 3 ; encoding: [0x13,0x97]