• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-mc -triple avr -mattr=spm,spmx -show-encoding < %s | FileCheck %s
2; RUN: llvm-mc -filetype=obj -triple avr -mattr=spm,spmx < %s | llvm-objdump -d --mattr=spm,spmx - | FileCheck -check-prefix=CHECK-INST %s
3
4
5foo:
6
7  spm
8  spm Z+
9
10; CHECK: spm                  ; encoding: [0xe8,0x95]
11; CHECK: spm Z+               ; encoding: [0xf8,0x95]
12
13; CHECK-INST: spm
14; CHECK-INST: spm Z+
15