2008-05-13 17:02:57 +08:00
|
|
|
//===-- PIC16TargetAsmInfo.cpp - PIC16 asm properties ---------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declarations of the PIC16TargetAsmInfo properties.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "PIC16TargetAsmInfo.h"
|
2008-11-04 02:22:42 +08:00
|
|
|
#include "PIC16TargetMachine.h"
|
2008-05-13 17:02:57 +08:00
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
PIC16TargetAsmInfo::
|
2008-11-19 19:00:54 +08:00
|
|
|
PIC16TargetAsmInfo(const PIC16TargetMachine &TM)
|
2008-11-04 02:22:42 +08:00
|
|
|
: TargetAsmInfo(TM) {
|
2008-05-13 17:02:57 +08:00
|
|
|
CommentString = ";";
|
2008-11-19 19:00:54 +08:00
|
|
|
Data8bitsDirective = " db ";
|
|
|
|
Data16bitsDirective = " db ";
|
|
|
|
Data32bitsDirective = " db ";
|
|
|
|
DataSectionStartSuffix = " IDATA ";
|
|
|
|
UDataSectionStartSuffix = " UDATA ";
|
|
|
|
TextSectionStartSuffix = " CODE ";
|
|
|
|
RomDataSectionStartSuffix = " ROMDATA ";
|
|
|
|
ZeroDirective = NULL;
|
2008-05-13 17:02:57 +08:00
|
|
|
}
|