[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-sbci.s
blobaad15238455a345862256cfa5842b12c3ee05a17
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
6 sbci r17, 21
7 sbci r23, 196
8 sbci r30, 244
9 sbci r19, 16
10 sbci r22, FOO
12 ; CHECK: sbci r17, 21 ; encoding: [0x15,0x41]
13 ; CHECK: sbci r23, 196 ; encoding: [0x74,0x4c]
14 ; CHECK: sbci r30, 244 ; encoding: [0xe4,0x4f]
15 ; CHECK: sbci r19, 16 ; encoding: [0x30,0x41]
17 ; CHECK: sbci r22, FOO ; encoding: [0x60'A',0x40]
18 ; CHECK: ; fixup A - offset: 0, value: FOO, kind: fixup_ldi