You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
389 B
15 lines
389 B
; RUN: llvm-mc -triple avr -mattr=spm,spmx -show-encoding < %s | FileCheck %s
|
|
; RUN: llvm-mc -filetype=obj -triple avr -mattr=spm,spmx < %s | llvm-objdump -d --mattr=spm,spmx - | FileCheck -check-prefix=CHECK-INST %s
|
|
|
|
|
|
foo:
|
|
|
|
spm
|
|
spm Z+
|
|
|
|
; CHECK: spm ; encoding: [0xe8,0x95]
|
|
; CHECK: spm Z+ ; encoding: [0xf8,0x95]
|
|
|
|
; CHECK-INST: spm
|
|
; CHECK-INST: spm Z+
|