[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-subi.s
blob1fa7d6444c95d8b4e9f2f3a82d089abd5f0e8613
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
5 subi r22, 82
6 subi r27, 39
7 subi r31, 244
8 subi r16, 144
10 subi r20, EXTERN_SYMBOL+0
12 ; CHECK: subi r22, 82 ; encoding: [0x62,0x55]
13 ; CHECK: subi r27, 39 ; encoding: [0xb7,0x52]
14 ; CHECK: subi r31, 244 ; encoding: [0xf4,0x5f]
15 ; CHECK: subi r16, 144 ; encoding: [0x00,0x59]
17 ; CHECK: subi r20, EXTERN_SYMBOL+0 ; encoding: [0x40'A',0x50]
18 ; CHECK: ; fixup A - offset: 0, value: EXTERN_SYMBOL+0, kind: fixup_ldi