2 # Define SciTE settings for MACROASSEMBLER AS for MSP430
4 file.patterns.asm=*.asm;*.inc;*.lst;*.mac
6 # add '*.inc;*.asm;' to 'source.files' variable in 'SciTEGlobal.properties'
7 # if you want to include these file patterns into default source file list
9 lexer.$(file.patterns.asm)=asm
11 *language.asm=ASM|asm||
13 *source.patterns.asm=$(file.patterns.asm);
15 filter.asm=asm files (asm inc)|$(file.patterns.asm)|
17 *filter.asm=$(filter.asm)
19 word.characters.$(file.patterns.asm)=$(chars.alpha)$(chars.numeric)_
22 #comment.block.at.line.start.asm=0
23 comment.box.start.asm=\
24 comment.box.middle.asm=\
26 comment.stream.start.asm=(
27 comment.stream.end.asm=)
32 keywords.$(file.patterns.asm)=add add.b add.w addc addc.b addc.w and and.b and.w \
33 bic bic.b bic.w bis bis.b bis.w bit bit.b bit.w br branch call \
34 cmp cmp.b cmp.w dadd dadd.b dadd.w \
35 mov mov.b mov.w push push.b push.w \
36 jc jhs je jeq jz jge jl jmp jn jnc jlo jne jnz \
37 nop nop2 nop3 ret reti swpb sxt \
38 rra rra.b rra.w rrc rrc.b rrc.w sub sub.b sub.w \
39 subc subc.b subc.w xor xor.b xor.w \
40 pushm popm rlam rram rrcm rrum
43 #keywords2.$(file.patterns.asm)=#define #elif #else #endif #error\
44 ##if #ifdef #ifndef #include #message #pragma #undef #warning
46 # MACROASSEMBLER AS directives
47 keywords3.$(file.patterns.asm)=.align .cpu .byte .word .endm .endmacro \
48 .equ .include .macro .org .reg .set .ifdef .ifndef .if .elseif .else .endif \
49 .switch .case .elsecase .endcase \
53 keywords4.$(file.patterns.asm)=NEXT mDOCOL
56 style.asm.32=$(font.base)
58 style.asm.0=$(font.base)
61 style.asm.1=$(colour.code.comment.line)
62 #style.asm.1=fore:#00FF00,$(font.comment)
65 #style.asm.2=$(colour.number)
66 style.asm.2=fore:#FF0000
69 #style.asm.3=$(colour.string)
70 style.asm.3=fore:#00FFFF
72 # Operator (= - / * , etc.)
73 style.asm.4=fore:#00FFFF
76 style.asm.5=fore:#FFFFFF
78 # CPU instruction ( add, adc, adiw, etc.)
79 style.asm.6=$(colour.keyword)
81 # preprocessor (#define #elif #else, etc.)
82 style.asm.7=fore:#FFFF00
84 # directives (.byte .cseg etc.)
85 style.asm.8=fore:#FFFF00
88 style.asm.9=fore:#FF00ff
91 style.asm.9=fore:#00FFff
94 # Comment block (GNU as /*...*/ syntax, unimplemented)
95 # style.asm.11=$(colour.code.comment.box),$(font.code.comment.box)
96 # Character/String (single quote) (also character prefix in GNU as)
97 style.asm.12=$(colour.char)
98 # End of line where string is not closed
99 #style.asm.13=fore:#000000,back:#E0C0E0,eolfilled
100 style.asm.13=fore:#FFFFFF,back:#000000
103 # the star at the start of this command line is to display the parameters box
104 # $(1) = target, example : MSP_EXP430FR5969
105 # $(2) = extension, example : _8MHz
108 command.name.0.*.asm=Assemble 1:[target]
109 command.0.*.asm=*\config\build.bat $(FileNameExt) $(1)$(2)
111 command.name.1.*.asm=FET Prog 1:[target]
112 command.1.*.asm=*\config\FET_prog.bat $(1)$(2)
115 command.name.2.*.asm=BSL Prog 1:[target] with 3:[COMx]
116 command.2.*.asm=*\config\BSL_prog.bat $(1)$(2) $(3)
119 command.name.3.*.asm=Assemble target CurrentSelection
120 command.3.*.asm=\config\build.bat $(FileNameExt) $(CurrentSelection)
122 command.name.4.*.asm=FET Prog target CurrentSelection
123 command.4.*.asm=\config\FET_prog.bat $(CurrentSelection)
125 command.name.5.*.asm=BSL Prog target CurrentSelection with 3:[COMx]
126 command.5.*.asm=*\config\BSL_prog.bat $(CurrentSelection) $(3)
129 # variable $FF = /home//DATA/CloudStation is defined in my ~.profile
130 command.name.0.*.asm=Assemble for 1:[target]
131 command.0.*.asm=*$HOME/Cloudstation/projets/msp430/config/build $(FileNameExt) $(1)$(2)
133 command.name.1.*.asm=FET Prog 1:[target]
134 command.1.*.asm=*$FF/msp430/config/prog $(1)$(2)
137 command.name.2.*.asm=Assemble for target CurrentSelection
138 command.2.*.asm=$FF/msp430/config/build $(FileNameExt) $(CurrentSelection)
140 command.name.3.*.asm=FET Prog target CurrentSelection
141 command.3.*.asm=$FF/msp430/config/prog $(CurrentSelection)