[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-sbc.s
blobf9625f45a0e87fb62136eef5d1cb1ab1a568ce8f
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
6 sbc r0, r15
7 sbc r15, r0
8 sbc r16, r31
9 sbc r31, r16
11 ; CHECK: sbc r0, r15 ; encoding: [0x0f,0x08]
12 ; CHECK: sbc r15, r0 ; encoding: [0xf0,0x08]
13 ; CHECK: sbc r16, r31 ; encoding: [0x0f,0x0b]
14 ; CHECK: sbc r31, r16 ; encoding: [0xf0,0x0b]