llvm/test/MC/AVR/inst-sbci.s
Dylan McKay 64af2512f1 [AVR] Add all of the machine code test suite
Summary: This adds all of the AVR machine code tests.

Reviewers: arsenm, kparzysz

Subscribers: wdng, japaric

Differential Revision: https://reviews.llvm.org/D26387

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286417 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-09 23:46:25 +00:00

19 lines
554 B
ArmAsm

; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
foo:
sbci r17, 21
sbci r23, 196
sbci r30, 244
sbci r19, 16
sbci r22, FOO
; CHECK: sbci r17, 21 ; encoding: [0x15,0x41]
; CHECK: sbci r23, 196 ; encoding: [0x74,0x4c]
; CHECK: sbci r30, 244 ; encoding: [0xe4,0x4f]
; CHECK: sbci r19, 16 ; encoding: [0x30,0x41]
; CHECK: sbci r22, FOO ; encoding: [0x60'A',0x40]
; CHECK: ; fixup A - offset: 0, value: FOO, kind: fixup_ldi