Home | History | Annotate | Download | only in AVR
      1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
      2 
      3 
      4 foo:
      5 
      6   andi r16, 255
      7   andi r29, 190
      8   andi r22, 172
      9   andi r27, 92
     10 
     11   andi r20, BAR
     12 
     13 ; CHECK: andi r16, 255                 ; encoding: [0x0f,0x7f]
     14 ; CHECK: andi r29, 190                 ; encoding: [0xde,0x7b]
     15 ; CHECK: andi r22, 172                 ; encoding: [0x6c,0x7a]
     16 ; CHECK: andi r27, 92                  ; encoding: [0xbc,0x75]
     17 
     18 ; CHECK: andi r20, BAR                 ; encoding: [0x40'A',0x70]
     19 ; CHECK:                               ;   fixup A - offset: 0, value: BAR, kind: fixup_ldi
     20