summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AVR/inst-dec.s
blob: bc689c1cb6bb296cd54666f919f75deac805dc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s


foo:

  dec r26
  dec r3
  dec r24
  dec r20

; CHECK: dec r26                  ; encoding: [0xaa,0x95]
; CHECK: dec r3                   ; encoding: [0x3a,0x94]
; CHECK: dec r24                  ; encoding: [0x8a,0x95]
; CHECK: dec r20                  ; encoding: [0x4a,0x95]
OpenPOWER on IntegriCloud