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)=adc adc.b adc.w 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 clrc clrn clrz dint eint \
35 clr clr.b clr.w cmp cmp.b cmp.w dadc dadc.b dadc.w dadd dadd.b dadd.w dec dec.b dec.w decd decd.b decd.w \
36 inc inc.b inc.w incd incd.b incd.w inv inv.b inv.w mov mov.b mov.w pop pop.b pop.w push push.b push.w \
37 jc jhs je jeq jz jge jl jmp jn jnc jlo jne jnz nop nop2 nop3 nop4 nop5 nop6 nop7 ret reti setc setn setz swpb sxt \
38 rla rla.b rla.w rlc rlc.b rlc.w rra rra.b rra.w rrc rrc.b rrc.w sbc sbc.b sbc.w sub sub.b sub.w \
39 subc subc.b subc.w sbb sbb.b sbb.w tst tst.b tst.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 DOALIAS DEST
62 style.asm.32=$(font.base)
64 style.asm.0=$(font.base)
67 style.asm.1=$(colour.code.comment.line)
68 #style.asm.1=fore:#00FF00,$(font.comment)
71 #style.asm.2=$(colour.number)
72 style.asm.2=fore:#FF0000
75 #style.asm.3=$(colour.string)
76 style.asm.3=fore:#00FFFF
78 # Operator (= - / * , etc.)
79 style.asm.4=fore:#00FFFF
82 style.asm.5=fore:#FFFFFF
84 # CPU instruction ( add, adc, adiw, etc.)
85 style.asm.6=$(colour.keyword)
87 # preprocessor (#define #elif #else, etc.)
88 style.asm.7=fore:#FFFF00
90 # directives (.byte .cseg etc.)
91 style.asm.8=fore:#FFFF00
94 style.asm.9=fore:#FF00ff
97 style.asm.9=fore:#00FFff
100 # Comment block (GNU as /*...*/ syntax, unimplemented)
101 # style.asm.11=$(colour.code.comment.box),$(font.code.comment.box)
102 # Character/String (single quote) (also character prefix in GNU as)
103 style.asm.12=$(colour.char)
104 # End of line where string is not closed
105 #style.asm.13=fore:#000000,back:#E0C0E0,eolfilled
106 style.asm.13=fore:#FFFFFF,back:#000000
109 # the star at the start of this command line is to display the parameters box
110 # write the name of the device in the first parameter; example : MSP430fr5969
111 # write the name of the target in the 2th parameter; example : MSP_EXP430fr5969
113 command.name.0.*.asm=Assembler 1:[device] 2:[target]
114 command.0.*.asm=*\config\scite\AS_MSP430\build.bat $(FileNameExt) $(2)$(3)
116 command.name.1.*.asm=FET Prog 1:[device] 2:[target]
117 command.1.*.asm=*\config\scite\AS_MSP430\prog.bat $(1) $(2)$(3).txt