summaryrefslogtreecommitdiff
path: root/llvm/test/MC/AVR/inst-sleep.s
blob: 5aeaeb462396153855fbabde127afd9d9198e3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck --check-prefix=CHECK-INST %s


foo:

  sleep

; CHECK: sleep                  ; encoding: [0x88,0x95]

; CHECK-INST: sleep