[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-sbi.s
blobf5381a7a50ae58507fea12ba9f3e386bd250e8ac
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
6 sbi 3, 5
7 sbi 1, 1
8 sbi 0, 0
9 sbi 7, 2
11 sbi main, 0
13 ; CHECK: sbi 3, 5 ; encoding: [0x1d,0x9a]
14 ; CHECK: sbi 1, 1 ; encoding: [0x09,0x9a]
15 ; CHECK: sbi 0, 0 ; encoding: [0x00,0x9a]
16 ; CHECK: sbi 7, 2 ; encoding: [0x3a,0x9a]
18 ; CHECK: sbi main, 0 ; encoding: [0bAAAAA000,0x9a]
19 ; CHECK: ; fixup A - offset: 0, value: main, kind: fixup_port5