mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
dd18739c8d
Reapply r346374 with the fixes for modules build. Original summary: This change implements assembler parser, code emitter, ELF object writer and disassembler for the MSP430 ISA. Also, more instruction forms are added to the target description. Patch by Michael Skvortsov! llvm-svn: 346948
8 lines
257 B
ArmAsm
8 lines
257 B
ArmAsm
; RUN: llvm-mc -triple msp430 -show-encoding < %s | FileCheck %s
|
|
mov pc, r0 ; CHECK: mov r0, r0
|
|
mov sp, r1 ; CHECK: mov r1, r1
|
|
mov sr, r2 ; CHECK: mov r2, r2
|
|
mov cg, r3 ; CHECK: mov r3, r3
|
|
mov fp, r4 ; CHECK: mov r4, r4
|
|
bic #8, SR ; CHECK: dint
|