1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s 2 3 4 foo: 5 6 and r0, r15 7 and r15, r0 8 and r16, r31 9 and r31, r16 10 11 ; CHECK: and r0, r15 ; encoding: [0x0f,0x20] 12 ; CHECK: and r15, r0 ; encoding: [0xf0,0x20] 13 ; CHECK: and r16, r31 ; encoding: [0x0f,0x23] 14 ; CHECK: and r31, r16 ; encoding: [0xf0,0x23] 15