blob: 8d3e7261c6587de1b9382d8776c91692eec88c88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Asm6502" version="1.04" kateversion="2.1" section="Assembler" extensions="*.asm" mimetype="text/x-asm6502">
<highlighting>
<contexts>
<context name = "Base" attribute = "Normal Text" lineEndContext = "#stay">
<RegExpr String= "#define.*$" attribute = "Preprocessor" context="#stay"/>
<RegExpr String= "#include .*$" attribute = "Preprocessor" context="#stay"/>
<RegExpr String= ";.*$" attribute = "Comment" context="#stay"/>
<RegExpr String= "\.byte" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.byt" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.word" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.asc" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.dsb" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.fopt" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.text" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.data" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.bss" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.zero" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\.align" attribute = "Data Type" context="#stay"/>
<RegExpr String= "\$[A-Za-z0-9]*" attribute = "Hex" context="#stay"/>
<RegExpr String= ",x$" attribute = "Keyword" context="#stay" insensitive="TRUE"/>
<RegExpr String= ",y$" attribute = "Keyword" context="#stay" insensitive="TRUE"/>
<RegExpr String= "#" attribute = "Keyword" context="#stay" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="TAX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="ADC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="AND" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="ASL" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BCC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BCS" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BEQ" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BIT" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BMI" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BNE" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BPL" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BRK" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BVC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="BVS" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CLC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CLD" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CLI" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CLV" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CMP" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CPX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="CPY" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="DEC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="DEX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="DEY" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="EOR" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="INC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="INX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="INY" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="JMP" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="JSR" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="LDA" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="LDX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="LDY" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="LSR" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="NOP" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="ORA" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="PHA" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="PHP" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="PLA" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="PLP" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="ROL" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="ROR" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="RTI" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="RTS" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="SBC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="SEC" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="SED" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="SEI" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="STA" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="STX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="STY" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="TAY" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="TSX" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="TXA" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="TXS" insensitive="TRUE"/>
<StringDetect attribute="Keyword" context="#stay" String="TYA" insensitive="TRUE"/>
<RegExpr String= "\*=" attribute = "Decimal" context="#stay"/>
<RangeDetect char = """ char1 = """ attribute = "String" context = "#stay"/>
<AnyChar String = "-+<>=;" attribute = "Operator" context = "#stay"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
</context>
</contexts>
<itemDatas>
<itemData name = "Normal Text" defStyleNum = "dsNormal"/>
<itemData name = "Keyword" defStyleNum = "dsKeyword"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name = "String" defStyleNum = "dsString"/>
<itemData name = "Comment" defStyleNum = "dsComment"/>
<itemData name = "Substitution" defStyleNum = "dsOthers"/>
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
<itemData name = "Parameter" defStyleNum = "dsOthers"/>
<itemData name = "Operator" defStyleNum = "dsOthers"/>
<itemData name = "Command" defStyleNum = "dsNormal"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start=";"/>
<comment name="multiLine" start="/*" end="*/"/>
</comments>
<keywords casesensitive="1"/>
</general>
</language>
|