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.
21 lines
534 B
21 lines
534 B
7 months ago
|
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
|
||
|
; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck -check-prefix=CHECK-INST %s
|
||
|
|
||
|
|
||
|
foo:
|
||
|
|
||
|
com r30
|
||
|
com r17
|
||
|
com r4
|
||
|
com r0
|
||
|
|
||
|
; CHECK: com r30 ; encoding: [0xe0,0x95]
|
||
|
; CHECK: com r17 ; encoding: [0x10,0x95]
|
||
|
; CHECK: com r4 ; encoding: [0x40,0x94]
|
||
|
; CHECK: com r0 ; encoding: [0x00,0x94]
|
||
|
|
||
|
; CHECK-INST: com r30
|
||
|
; CHECK-INST: com r17
|
||
|
; CHECK-INST: com r4
|
||
|
; CHECK-INST: com r0
|