############################################################################### # # # IAR Assembler V5.30.1.50284/W32 for MSP430 27/Dec/2013 08:20:27 # # Copyright 1996-2011 IAR Systems AB. # # # # Target option = MSP430 # # Source file = C:\Dokumente und Einstellungen\All Users\Dokumente\4e4th\4e-aLP430.s43# # List file = C:\Dokumente und Einstellungen\All Users\Dokumente\4e4th\Debug\List\4e-aLP430.lst# # Object file = C:\Dokumente und Einstellungen\All Users\Dokumente\4e4th\Debug\Obj\4e-aLP430.r43# # Command line = C:\Dokumente und Einstellungen\All Users\Dokumente\4e4th\4e-aLP430.s43 # # -OC:\Dokumente und Einstellungen\All Users\Dokumente\4e4th\Debug\Obj\ # # -s+ -M<> -w+ # # -LC:\Dokumente und Einstellungen\All Users\Dokumente\4e4th\Debug\List\ # # -t8 -r -D__MSP430G2553__ # # -IC:\Programme\IAR Systems\Embedded Workbench 6.0 Kickstart\430\INC\ # # # ############################################################################### 1 000000 ; Build 4e4th on MSP430 LaunchPad. 2 000000 3 000000 ; ---------------------------------------------- ------------------------ 4 000000 ; 4e4th is a Forth based on CamelForth 5 000000 ; for the Texas Instruments MSP430 6 000000 ; 7 000000 ; This program is free software; you can redistribute it and/or modify 8 000000 ; it under the terms of the GNU General Public License as published by 9 000000 ; the Free Software Foundation; either version 3 of the License, or 10 000000 ; (at your option) any later version. 11 000000 ; 12 000000 ; This program is distributed in the hope that it will be useful, 13 000000 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 14 000000 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 000000 ; GNU General Public License for more details. 16 000000 ; 17 000000 ; You should have received a copy of the GNU General Public License 18 000000 ; along with this program. If not, see . 19 000000 ; 20 000000 ; See LICENSE TERMS in Brads file readme.txt as well. 21 000000 ; ---------------------------------------------- ------------------------ 22 000000 23 000000 #include "msp430.h" ; #define controlled include file 24 000000 #include "4e-CF430G2553forth.h" ; header macros and register defs 25 000000 26 000000 EXTERN UP,UAREA,PADAREA,LSTACK,PSTACK,R STACK 27 000000 EXTERN TIBAREA,RAMDICT,ROMDICT 28 000000 EXTERN TIB_SIZE,UAREA_SIZE,VARAREA,VAR_ SIZE,nullirq 29 000000 30 000000 RSEG CODE ; place program in 'CODE' segment 31 000000 32 000000 link SET 0 ; initial dictionary link 33 000000 34 000000 ; ---------------------------------------------- ------------------------ 35 000000 ; chip ident 36 000000 37 000000 38 000000 ; production fuse 39 000000 FFFF PROFUSE: DW 0xFFFF ; burn fuse to prohibit WIPE 40 000002 41 000002 ; version strings 42 000002 1F version: DB (verend-ver0) 43 000003 204D53503433*ver0: DB ' MSP430G2553 LaunchPad - 4E4th ' 44 000022 EVEN 0x20 ; use blank as padding byte 45 000022 verend: 46 000022 47 000022 16 stamp: DB (stampend-stamp0) 48 000023 446563203237*stamp0: DB __date__,' ',__time__ 49 000039 stampend: 50 000039 51 000039 ; ---------------------------------------------- ------------------------ 52 000039 ; We #include the following source files, rather than compiling them 53 000039 ; separately, so that they can inherit the value of 'link'. 54 000039 55 000039 ; This is minimum for 4e4th ... 56 000039 #include "4e-deps430G2553.s43" ; MCU dependent code. 57 0001CC #include "4e-core430.s43" ; Assembled words, former called 'primitives'. 58 00099E #include "4e-hilvl430.s43" ; forth kernel coded 'high level'. 59 001E0A #include "4e-boot.s43" ; 4e4th boot procedure.´ 60 001FB2 ; ... here we have a running forth kernel. 61 001FB2 62 001FB2 ; Include some features... 63 001FB2 #include "4e-vecarea.s43" ; handling of flash memory vector area. 64 0020E0 #include "4e-asmscripting.s43" ; basics for cross assembling. 65 00214A #include "4e-onewire.s43" ; if you like add onewire bascics 66 0021FA #include "4e-LPM.s43" ; handlinf sleepmodes 67 00227C ; #include "4e-WAS430G2553.s43" ; Willems Assembler 68 00227C #include "4e-LaunchPad.s43" ; ... and finaly some board specific words. 69 0022B8 70 0022B8 71 0022B8 /* 72 0022B8 ; DEBUG FORTH EXECUTION 73 0022B8 ; debug serieal 74 0022B8 PUBLIC DEBUGIP 75 0022B8 DEBUGIP: 76 0022B8 ; DW DOTID 77 0022B8 DEBUG1: 78 0022B8 ; DW TASK 79 0022B8 DW KEY ; 1@A0 test 1=rot,@=grün,A=beide,0=a us 80 0022B8 DW DUP ;,DOTS,CR 81 0022B8 DW STORELEDS 82 0022B8 ; DW COLD 83 0022B8 DW EMIT 84 0022B8 DW lit,0,qbran 85 0022B8 DW DEBUG1-$ 86 0022B8 DW bran,-2 87 0022B8 88 0022B8 /* 89 0022B8 ; debugging only 90 0022B8 HEADLESS CREATE,DOCOLON 91 0022B8 HEADLESS ALLOT,DOCOLON 92 0022B8 HEADLESS BUILDS,DOCOLON 93 0022B8 HEADLESS ICOMMA,DOCOLON 94 0022B8 HEADLESS XDOES,DOCOLON 95 0022B8 HEADLESS IHERE,DOCOLON 96 0022B8 HEADLESS IALLOT,DOCOLON 97 0022B8 HEADLESS CELL,DOCOLON 98 0022B8 HEADLESS PJOUT,DOCOLON 99 0022B8 */ 100 0022B8 101 0022B8 102 000000 PUBLIC lastword 103 0022B8 lastword equ link 104 0022B8 105 0022B8 ; for debug map only: 106 0022B8 CamelForthEnd: 107 0022B8 108 0022B8 END ############################## # CRC:58FF # # Errors: 0 # # Warnings: 0 # # Bytes: 8888 # ##############################