[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-sbr.s
blob0189055094f1d471be08f038fee8d8d26afc098d
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
5 sbr r17, 208
6 sbr r24, 190
7 sbr r20, 173
8 sbr r31, 0
10 sbr r19, _start
12 ; CHECK: ori r17, 208 ; encoding: [0x10,0x6d]
13 ; CHECK: ori r24, 190 ; encoding: [0x8e,0x6b]
14 ; CHECK: ori r20, 173 ; encoding: [0x4d,0x6a]
15 ; CHECK: ori r31, 0 ; encoding: [0xf0,0x60]
17 ; CHECK: ori r19, _start ; encoding: [0x30'A',0x60]
18 ; CHECK: ; fixup A - offset: 0, value: _start, kind: fixup_ldi