OSDN Git Service

V208 corrected for line display with NOECHO
[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)=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 
42
43 ##preprocessor
44 #keywords2.$(file.patterns.asm)=#define #elif #else #endif #error\
45     ##if #ifdef #ifndef #include #message  #pragma #undef #warning
46
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 \
51     .warning .error
52
53 # my macros
54 keywords4.$(file.patterns.asm)=NEXT DOALIAS DEST
55
56
57
58
59
60
61
62 # Default
63 style.asm.32=$(font.base)
64 # whitespace
65 style.asm.0=$(font.base)
66
67 # Comment stream
68 style.asm.1=$(colour.code.comment.line)
69 #style.asm.1=fore:#00FF00,$(font.comment)
70
71 # Number
72 #style.asm.2=$(colour.number)
73 style.asm.2=fore:#FF0000
74
75 # String
76 #style.asm.3=$(colour.string)
77 style.asm.3=fore:#00FFFF
78
79 # Operator (= - / * , etc.)
80 style.asm.4=fore:#00FFFF
81
82 # Identifier (text)
83 style.asm.5=fore:#FFFFFF
84
85 # CPU instruction ( add, adc, adiw, etc.)
86 style.asm.6=$(colour.keyword)
87
88 # preprocessor (#define #elif #else, etc.)
89 style.asm.7=fore:#FFFF00
90
91 # directives (.byte .cseg  etc.)
92 style.asm.8=fore:#FFFF00
93
94 # assembler Directive
95 style.asm.9=fore:#FF00ff
96
97 # my macros
98 style.asm.9=fore:#00FFff
99
100
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
108
109
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
112
113 if PLAT_WIN
114     command.name.0.*.asm=Assemble for 1:[target]
115     command.0.*.asm=*\config\msp430\build.bat $(FileNameExt) $(1)$(2)
116     
117     command.name.1.*.asm=FET Prog 1:[target]
118     command.1.*.asm=*\config\msp430\prog.bat $(1)$(2)
119     
120     
121     command.name.2.*.asm=Assemble for target CurrentSelection
122     command.2.*.asm=\config\msp430\build.bat $(FileNameExt) $(CurrentSelection)
123     
124     command.name.3.*.asm=FET Prog target CurrentSelection
125     command.3.*.asm=\config\msp430\prog.bat $(CurrentSelection)
126
127 if PLAT_GTK
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)
131     
132     command.name.1.*.asm=FET Prog 1:[target]
133     command.1.*.asm=*$FF/config/msp430/prog $(1)$(2)
134     
135     
136     command.name.2.*.asm=Assemble for target CurrentSelection
137     command.2.*.asm=$FF/config/msp430/build $(FileNameExt) $(CurrentSelection)
138     
139     command.name.3.*.asm=FET Prog target CurrentSelection
140     command.3.*.asm=$FF/config/msp430/prog $(CurrentSelection)
141
142
143
144
145
146
147
148