summaryrefslogtreecommitdiffstats
path: root/kate/data/asm6502.xml
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/asm6502.xml
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/asm6502.xml')
-rw-r--r--kate/data/asm6502.xml120
1 files changed, 120 insertions, 0 deletions
diff --git a/kate/data/asm6502.xml b/kate/data/asm6502.xml
new file mode 100644
index 000000000..8d3e7261c
--- /dev/null
+++ b/kate/data/asm6502.xml
@@ -0,0 +1,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 = "&quot;" char1 = "&quot;" attribute = "String" context = "#stay"/>
+ <AnyChar String = "-+&lt;&gt;=;" 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>
+