1 # Define SciTE settings for MACROASSEMBLER AS for MSP430
5 file.patterns.asm=*.asm;*.inc;*.lst;*.mac
7 # add '*.inc;*.asm;' to 'source.files' variable in 'SciTEGlobal.properties'
8 # if you want to include these file patterns into default source file list
10 lexer.$(file.patterns.asm)=asm
12 *language.asm=ASM|asm||
14 *source.patterns.asm=$(file.patterns.asm);
16 filter.asm=asm files (asm inc)|$(file.patterns.asm)|
18 *filter.asm=$(filter.asm)
20 word.characters.$(file.patterns.asm)=$(chars.alpha)$(chars.numeric)_
23 #comment.block.at.line.start.asm=0
24 comment.box.start.asm=\
25 comment.box.middle.asm=\
27 comment.stream.start.asm=(
28 comment.stream.end.asm=)
33 keywords.$(file.patterns.asm)=add add.b add.w addc addc.b addc.w and and.b and.w \
34 bic bic.b bic.w bis bis.b bis.w bit bit.b bit.w br branch call \
35 cmp cmp.b cmp.w dadd dadd.b dadd.w \
36 mov mov.b mov.w push push.b push.w \
37 jc jhs je jeq jz jge jl jmp jn jnc jlo jne jnz \
38 nop nop2 nop3 ret reti swpb sxt \
39 rra rra.b rra.w rrc rrc.b rrc.w sub sub.b sub.w \
40 subc subc.b subc.w xor xor.b xor.w \
41 pushm popm rlam rram rrcm rrum
44 #keywords2.$(file.patterns.asm)=#define #elif #else #endif #error\
45 ##if #ifdef #ifndef #include #message #pragma #undef #warning
47 # MACROASSEMBLER AS directives
48 keywords3.$(file.patterns.asm)=.align .cpu .byte .word .endm .endmacro \
49 .equ .include .macro .org .reg .set .ifdef .ifndef .if .elseif .else .endif \
50 .switch .case .elsecase .endcase \
54 keywords4.$(file.patterns.asm)=NEXT DOALIAS DEST
63 style.asm.32=$(font.base)
65 style.asm.0=$(font.base)
68 style.asm.1=$(colour.code.comment.line)
69 #style.asm.1=fore:#00FF00,$(font.comment)
72 #style.asm.2=$(colour.number)
73 style.asm.2=fore:#FF0000
76 #style.asm.3=$(colour.string)
77 style.asm.3=fore:#00FFFF
79 # Operator (= - / * , etc.)
80 style.asm.4=fore:#00FFFF
83 style.asm.5=fore:#FFFFFF
85 # CPU instruction ( add, adc, adiw, etc.)
86 style.asm.6=$(colour.keyword)
88 # preprocessor (#define #elif #else, etc.)
89 style.asm.7=fore:#FFFF00
91 # directives (.byte .cseg etc.)
92 style.asm.8=fore:#FFFF00
95 style.asm.9=fore:#FF00ff
98 style.asm.9=fore:#00FFff
101 # Comment block (GNU as /*...*/ syntax, unimplemented)
102 # style.asm.11=$(colour.code.comment.box),$(font.code.comment.box)
103 # Character/String (single quote) (also character prefix in GNU as)
104 style.asm.12=$(colour.char)
105 # End of line where string is not closed
106 #style.asm.13=fore:#000000,back:#E0C0E0,eolfilled
107 style.asm.13=fore:#FFFFFF,back:#000000
110 # the star at the start of this command line is to display the parameters box
111 # copy the name of the target in the first parameter; example : MSP_EXP430FR5969
114 command.name.0.*.asm=Assemble for 1:[target]
115 command.0.*.asm=*\config\msp430\build.bat $(FileNameExt) $(1)$(2)
117 command.name.1.*.asm=FET Prog 1:[target]
118 command.1.*.asm=*\config\msp430\prog.bat $(1)$(2)
121 command.name.2.*.asm=Assemble for target CurrentSelection
122 command.2.*.asm=\config\msp430\build.bat $(FileNameExt) $(CurrentSelection)
124 command.name.3.*.asm=FET Prog target CurrentSelection
125 command.3.*.asm=\config\msp430\prog.bat $(CurrentSelection)
128 # variable $FF = /media/my/DATA/CloudStation is defined in my ~.profile
129 command.name.0.*.asm=Assemble for 1:[target]
130 command.0.*.asm=*$FF/config/msp430/build $(FileNameExt) $(1)$(2)
132 command.name.1.*.asm=FET Prog 1:[target]
133 command.1.*.asm=*$FF/config/msp430/prog $(1)$(2)
136 command.name.2.*.asm=Assemble for target CurrentSelection
137 command.2.*.asm=$FF/config/msp430/build $(FileNameExt) $(CurrentSelection)
139 command.name.3.*.asm=FET Prog target CurrentSelection
140 command.3.*.asm=$FF/config/msp430/prog $(CurrentSelection)