• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2
3
4foo:
5  or r0,  r15
6  or r15, r0
7  or r16, r31
8  or r31, r16
9
10; CHECK: or r0,  r15               ; encoding: [0x0f,0x28]
11; CHECK: or r15, r0                ; encoding: [0xf0,0x28]
12; CHECK: or r16, r31               ; encoding: [0x0f,0x2b]
13; CHECK: or r31, r16               ; encoding: [0xf0,0x2b]
14