OSDN Git Service

2bb69cd50a46009bf86b49d7eee493765855f11b
[fast-forth/master.git] / config / scite / AS_MSP430 / asm.properties
1 # Define SciTE settings for MACROASSEMBLER AS for MSP430
2
3
4
5 file.patterns.asm=*.asm;*.inc;*.lst;*.mac
6
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
9
10 lexer.$(file.patterns.asm)=asm
11
12 *language.asm=ASM|asm||
13
14 *source.patterns.asm=$(file.patterns.asm);
15
16 filter.asm=asm files (asm inc)|$(file.patterns.asm)|
17
18 *filter.asm=$(filter.asm)
19
20 word.characters.$(file.patterns.asm)=$(chars.alpha)$(chars.numeric)_
21
22 comment.block.asm=\ ~
23 #comment.block.at.line.start.asm=0
24 comment.box.start.asm=\
25 comment.box.middle.asm=\
26 comment.box.end.asm=\
27 comment.stream.start.asm=(
28 comment.stream.end.asm=)
29
30 # asm styles
31
32 #MSP430_instructions
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 
41
42 ##preprocessor
43 #keywords2.$(file.patterns.asm)=#define #elif #else #endif #error\
44     ##if #ifdef #ifndef #include #message  #pragma #undef #warning
45
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 \
50     .warning .error
51
52 # my macros
53 keywords4.$(file.patterns.asm)=NEXT DOALIAS DEST
54
55
56
57
58
59
60
61 # Default
62 style.asm.32=$(font.base)
63 # whitespace
64 style.asm.0=$(font.base)
65
66 # Comment stream
67 style.asm.1=$(colour.code.comment.line)
68 #style.asm.1=fore:#00FF00,$(font.comment)
69
70 # Number
71 #style.asm.2=$(colour.number)
72 style.asm.2=fore:#FF0000
73
74 # String
75 #style.asm.3=$(colour.string)
76 style.asm.3=fore:#00FFFF
77
78 # Operator (= - / * , etc.)
79 style.asm.4=fore:#00FFFF
80
81 # Identifier (text)
82 style.asm.5=fore:#FFFFFF
83
84 # CPU instruction ( add, adc, adiw, etc.)
85 style.asm.6=$(colour.keyword)
86
87 # preprocessor (#define #elif #else, etc.)
88 style.asm.7=fore:#FFFF00
89
90 # directives (.byte .cseg  etc.)
91 style.asm.8=fore:#FFFF00
92
93 # assembler Directive
94 style.asm.9=fore:#FF00ff
95
96 # my macros
97 style.asm.9=fore:#00FFff
98
99
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
107
108
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
112
113 command.name.0.*.asm=Assembler 1:[device]  2:[target]
114 command.0.*.asm=*\config\scite\AS_MSP430\build.bat $(FileNameExt) $(2)$(3)
115
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
118
119
120
121
122
123
124
125