[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-jmp.s
blob664f8c81cef65d22a462ccdb0e6116662af27c4c
1 ; RUN: llvm-mc -triple avr -mattr=jmpcall -show-encoding < %s | FileCheck %s
4 foo:
6 jmp 200
7 jmp -12
8 jmp 80
9 jmp 0
11 jmp foo+1
13 ; CHECK: jmp 200 ; encoding: [0x0c,0x94,0x64,0x00]
14 ; CHECK: jmp -12 ; encoding: [0xfd,0x95,0xfa,0xff]
15 ; CHECK: jmp 80 ; encoding: [0x0c,0x94,0x28,0x00]
16 ; CHECK: jmp 0 ; encoding: [0x0c,0x94,0x00,0x00]
18 ; CHECK: jmp foo+1 ; encoding: [0x0c'A',0x94'A',0b00AAAAAA,0x00]
19 ; CHECK: ; fixup A - offset: 0, value: foo+1, kind: fixup_call