llvm-project/llvm/test/MC/AVR/inst-lsr.s

15 lines
333 B
ArmAsm

; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
foo:
lsr r31
lsr r25
lsr r5
lsr r0
; CHECK: lsr r31 ; encoding: [0xf6,0x95]
; CHECK: lsr r25 ; encoding: [0x96,0x95]
; CHECK: lsr r5 ; encoding: [0x56,0x94]
; CHECK: lsr r0 ; encoding: [0x06,0x94]