[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-sbis.s
blobc1b896cf8c6b684b8531ab50c08a7e98c66f9877
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
5 sbis 4, 3
6 sbis 6, 2
7 sbis 16, 5
8 sbis 0, 0
10 sbis FOO+4, 7
12 ; CHECK: sbis 4, 3 ; encoding: [0x23,0x9b]
13 ; CHECK: sbis 6, 2 ; encoding: [0x32,0x9b]
14 ; CHECK: sbis 16, 5 ; encoding: [0x85,0x9b]
15 ; CHECK: sbis 0, 0 ; encoding: [0x00,0x9b]
17 ; CHECK: sbis FOO+4, 7 ; encoding: [0bAAAAA111,0x9b]
18 ; CHECK: ; fixup A - offset: 0, value: FOO+4, kind: fixup_port5