65816.tmbundle/Syntaxes/EDAsm.tmLanguage

176 lines
4.3 KiB
Plaintext
Raw Permalink Normal View History

2013-03-31 23:57:48 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array/>
2013-05-05 16:55:09 +00:00
<key>isDisabled</key>
<false/>
2013-03-31 23:57:48 +00:00
<key>name</key>
<string>EDASM</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
2013-05-05 16:55:09 +00:00
<string>#M6502</string>
2013-03-31 23:57:48 +00:00
</dict>
<dict>
<key>include</key>
2013-05-05 16:55:09 +00:00
<string>#M65C02</string>
2013-03-31 23:57:48 +00:00
</dict>
<dict>
<key>include</key>
2013-05-05 16:55:09 +00:00
<string>#hex_number</string>
2013-03-31 23:57:48 +00:00
</dict>
<dict>
<key>include</key>
2013-05-05 16:55:09 +00:00
<string>#binary_number</string>
2013-03-31 23:57:48 +00:00
</dict>
<dict>
<key>include</key>
2013-05-05 16:55:09 +00:00
<string>#decimal_number</string>
2013-03-31 23:57:48 +00:00
</dict>
<dict>
<key>include</key>
2013-05-05 16:55:09 +00:00
<string>#octal_number</string>
2013-03-31 23:57:48 +00:00
</dict>
<dict>
<key>match</key>
<string>\b(?i:BLT|BGE|DEA|INA|LSL)\b</string>
<key>name</key>
<string>keyword.mnemonic.6502.alt</string>
</dict>
<dict>
<key>match</key>
<string>^[A-Za-z][A-Za-z0-9@]*\b</string>
<key>name</key>
<string>entity.name.label</string>
</dict>
<dict>
<key>match</key>
<string>^[*;].*</string>
<key>name</key>
<string>comment.line</string>
</dict>
<dict>
<key>match</key>
<string>;.*</string>
<key>name</key>
<string>comment.line</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.directive.string</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.delimited.begin</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>string.delimited</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>string.delimited.end</string>
</dict>
</dict>
<key>comment</key>
<string>delimited strings.</string>
<key>match</key>
<string>\b((?i)ASC|STR|DCI)\s+(\S)(.*?)(\2|$)</string>
<key>name</key>
<string>meta.string.delimited</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i:ASC|CHN|CHR|DATE|DCI|DDB|DEF|DFB|DS|DSECT|DW|ENTRY|EQU|EXTRN|FAIL|FIN|IBUFSIZ|IDNUM|INCLUDE|INTERP|LST|MACLIB|MSB|OBJ|ORG|PAGE|REF|REL|REP|SBTL|SBUFSIZ|SKP|STR|SYS|TIME|ZDEF|ZREF)\b</string>
<key>name</key>
<string>keyword.directive</string>
</dict>
<dict>
<key>match</key>
<string>\b(?i:DO|ELSE|FIN|IFEQ|IFGE|IFGT|IFNE|IFLE|IFLT)\b</string>
<key>name</key>
<string>keyword.control.conditional</string>
</dict>
<dict>
<key>match</key>
<string>[-+/|^!&lt;&gt;*#()]</string>
<key>name</key>
<string>keyword.operator</string>
</dict>
</array>
2013-05-05 16:55:09 +00:00
<key>repository</key>
<dict>
<key>M6502</key>
<dict>
<key>match</key>
<string>\b(?i:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA)\b</string>
<key>name</key>
<string>keyword.mnemonic.6502</string>
</dict>
<key>M65816</key>
<dict>
<key>match</key>
<string>\b(?i:BRL|COP|JML|JSL|MVN|MVP|PEA|PEI|PER|PHB|PHD|PHK|PLB|PLD|REP|RTL|SEP|TCD|TCS|TDC|TSC|TXY|TYX|WDM|XBA|XCE)\b</string>
<key>name</key>
<string>keyword.mnemonic.65816</string>
</dict>
<key>M65816L</key>
<dict>
<key>match</key>
<string>\b(?i:ADCL|ANDL|CMPL|EORL|LDAL|ORAL|SBCL|STAL)\b</string>
<key>name</key>
<string>keyword.mnemonic.65816.long</string>
</dict>
<key>M65C02</key>
<dict>
<key>match</key>
<string>\b(?i:BRA|PHX|PHY|PLX|PLY|STP|STZ|TRB|TSB|WAI)\b</string>
<key>name</key>
<string>keyword.mnemonic.65c02</string>
</dict>
<key>binary_number</key>
<dict>
<key>match</key>
<string>%[01]+</string>
<key>name</key>
<string>constant.numeric.binary</string>
</dict>
<key>decimal_number</key>
<dict>
<key>match</key>
<string>\b([0-9]+)\b</string>
<key>name</key>
<string>constant.numeric.decimal</string>
</dict>
<key>hex_number</key>
<dict>
<key>match</key>
<string>\$[A-Fa-f0-9]+</string>
<key>name</key>
<string>constant.numeric.hex</string>
</dict>
<key>octal_number</key>
<dict>
<key>match</key>
<string>@([0-7]+)\b</string>
<key>name</key>
<string>constant.numeric.octal</string>
</dict>
</dict>
2013-03-31 23:57:48 +00:00
<key>scopeName</key>
<string>source.asm.6502.edasm</string>
<key>uuid</key>
<string>3B702721-C1B1-4DB6-A163-0FD9D6A83F4C</string>
</dict>
</plist>