beautypg.com

Texas Instruments TLV1562 User Manual

Page 98

background image

Software Overview

92

SLAA040

Constants definition – see 8.6.1.1 Constants.asm and for Interrupt Routine handler – see 8.6.1.2
Interrupt Vectors

Auto.bat

@ECHO ON

del *.map

del *.obj

del *.out

del *.lst

del *.cnv

cl500.exe –k –n c1562.c

pause

mnem2alg.exe c1562.asm

pause

asm500 asm1562.asm –l –mg –q –s

pause

asm500 c1562.cnv –l –mg –q –s

pause

lnk500 linker.cmd

Linker.cmd

/******************************************************************/

/* File: Linker.lnk COMMAND FILE */

/* .title ”COMMAND FILE FOR TLV1562.ASM” */

/* */

/* This CMD file allocates the memory area for the TLV1562 */

/* interface Program */

/******************************************************************/

–stack 0x0080

–M asm1562.MAP

–O asm1562.OUT

–v0

–c

–l rts.lib

asm1562.obj

c1562.obj

MEMORY

{

PAGE 0: VECT: origin = 0200h, length = 0080h

PROG: origin = 0400h, length = 0300h

PAGE 1: RAMB0: origin = 1900h, length = 1500h

STAC: origin = 1800h, length = 0100h

}

SECTIONS

{