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


foo:

  clr r2
  clr r12
  clr r5
  clr r0

; CHECK: clr r2                  ; encoding: [0x22,0x24]
; CHECK: clr r12                 ; encoding: [0xcc,0x24]
; CHECK: clr r5                  ; encoding: [0x55,0x24]
; CHECK: clr r0                  ; encoding: [0x00,0x24]

OpenPOWER on IntegriCloud