[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-andi.s
blob5ff6825fcd5f863600beb1cf99a4786bff728ecc
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
6 andi r16, 255
7 andi r29, 190
8 andi r22, 172
9 andi r27, 92
11 andi r20, BAR
13 ; CHECK: andi r16, 255 ; encoding: [0x0f,0x7f]
14 ; CHECK: andi r29, 190 ; encoding: [0xde,0x7b]
15 ; CHECK: andi r22, 172 ; encoding: [0x6c,0x7a]
16 ; CHECK: andi r27, 92 ; encoding: [0xbc,0x75]
18 ; CHECK: andi r20, BAR ; encoding: [0x40'A',0x70]
19 ; CHECK: ; fixup A - offset: 0, value: BAR, kind: fixup_ldi