blob: f0afe5f41a977c9c6ed5cbf5b1124c52351bf972 [file] [log] [blame]
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
; RUN: llvm-mc -filetype=obj -triple avr < %s \
; RUN: | llvm-objdump --no-print-imm-hex -d - | FileCheck --check-prefix=INST %s
foo:
sbrs r2, 3
sbrs r0, 7
; CHECK: sbrs r2, 3 ; encoding: [0x23,0xfe]
; CHECK: sbrs r0, 7 ; encoding: [0x07,0xfe]
; INST: sbrs r2, 3
; INST: sbrs r0, 7