diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-19 18:45:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-19 18:45:49 +0000 |
commit | 09a528fd59d3ea5f69575a92574f7a87898dc068 (patch) | |
tree | 9e465c49fbbe65f70d4feca3fcfb2ab3a7cf00d4 /src/psm.xml | |
download | kpicosim-09a528fd59d3ea5f69575a92574f7a87898dc068.tar.gz kpicosim-09a528fd59d3ea5f69575a92574f7a87898dc068.zip |
Added old abandoned (but very good!) KDE3 KPicoSim application
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1092928 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/psm.xml')
-rw-r--r-- | src/psm.xml | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/src/psm.xml b/src/psm.xml new file mode 100644 index 0000000..83e4386 --- /dev/null +++ b/src/psm.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- +This program, including associated files, is free software. You may +distribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either Version 2 of +the license, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +--> + +<language name="pblazeASM" version="1.02" kateversion="2.1" section="Assembler" extensions="*.psm" mimetype="text/x-psm" author="Mark Six" license="GPL"> + <highlighting> + <list name="instructions"> + <item> ADD </item> + <item> ADDCY </item> + <item> AND </item> + <item> CALL </item> + <item> COMPARE </item> + <item> FETCH </item> + <item> INPUT </item> + <item> JUMP </item> + <item> LOAD </item> + <item> OR </item> + <item> OUTPUT </item> + <item> RETURN </item> + <item> RETURNI </item> + <item> ROTATE </item> + <item> RL </item> + <item> RR </item> + <item> SL0 </item> + <item> SL1 </item> + <item> SLA </item> + <item> SLX </item> + <item> SR0 </item> + <item> SR1 </item> + <item> SRA </item> + <item> SRX </item> + <item> STORE </item> + <item> SUB </item> + <item> SUBCY </item> + <item> TEST </item> + <item> XOR </item> + <item> DISABLE </item> + <item> ENABLE </item> + </list> + + <list name="instruction_attr"> + <item> NZ </item> + <item> Z </item> + <item> C </item> + <item> NC </item> + <item> INTERRUPT </item> + <item> DISABLE </item> + <item> ENABLE </item> + <item> s0 </item> + <item> s1 </item> + <item> s2 </item> + <item> s3 </item> + <item> s4 </item> + <item> s5 </item> + <item> s6 </item> + <item> s7 </item> + <item> s8 </item> + <item> s9 </item> + <item> sA </item> + <item> sB </item> + <item> sC </item> + <item> sD </item> + <item> sE </item> + <item> sF </item> + </list> + + <list name="directives"> + <item> constant </item> + <item> namereg </item> + <item> address </item> + </list> + + + <contexts> + <!-- The main context --> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Instructions" context="Opcode" String="instructions"/> + <keyword attribute="Directives" context="Opcode" String="directives"/> + <DetectChar attribute="Comment" context="Comment" char=";" /> + </context> + + <context name="Comment" attribute="Comment" lineEndContext="#pop" /> + + <context name="Opcode" attribute="Opcode" lineEndContext="#pop"> + <keyword attribute="InstructionAttr" context="#stay" String="instruction_attr"/> + <DetectChar attribute="Comment" context="Comment" char=";" /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Directives" defStyleNum="dsOthers"/> + <itemData name="Instructions" defStyleNum="dsKeyword"/> + <itemData name="InstructionAttr" defStyleNum="dsNormal" color="#000080" selColor="#000080" bold="0" italic="1"/> + <itemData name="Comment" defStyleNum="dsComment" /> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start=";" /> + </comments> + <keywords casesensitive="0" weakDeliminator="_.$" /> + </general> +</language> |