Added a more function PIC16 backend. However to get this working a patch in
[oota-llvm.git] / lib / Target / PIC16 / PIC16TargetAsmInfo.cpp
1 //===-- PIC16TargetAsmInfo.cpp - PIC16 asm properties ---------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source 
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the PIC16TargetAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "PIC16TargetAsmInfo.h"
15 #include "PIC16TargetMachine.h"
16
17 using namespace llvm;
18
19 PIC16TargetAsmInfo::
20 PIC16TargetAsmInfo(const PIC16TargetMachine &TM) 
21   : TargetAsmInfo(TM) {
22   CommentString = ";";
23   Data8bitsDirective = " db ";
24   Data16bitsDirective = " db ";
25   Data32bitsDirective = " db ";
26   DataSectionStartSuffix = " IDATA ";
27   UDataSectionStartSuffix = " UDATA ";
28   TextSectionStartSuffix = " CODE ";
29   RomDataSectionStartSuffix = " ROMDATA ";
30   ZeroDirective = NULL;
31 }