summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AVR/inst-inc.s
blob: 7300d0d2ec884cfd3a449612e7f4316becfc81b2 (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:

  inc r12
  inc r29
  inc r6
  inc r20

; CHECK: inc r12                  ; encoding: [0xc3,0x94]
; CHECK: inc r29                  ; encoding: [0xd3,0x95]
; CHECK: inc r6                   ; encoding: [0x63,0x94]
; CHECK: inc r20                  ; encoding: [0x43,0x95]
OpenPOWER on IntegriCloud