ST compatibility

This commit is contained in:
Kelvin Sherlock 2013-05-05 12:55:09 -04:00
parent 7406de1818
commit d6ec26fc45
6 changed files with 384 additions and 65 deletions

View File

@ -9,10 +9,16 @@
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\b(?i:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRA|BRK|BRL|BVC|BVS|CLC|CLD|CLI|CLV|CMP|COP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JML|JMP|JSL|JSR|LDA|LDX|LDY|LSR|MVN|MVP|NOP|ORA|PEA|PEI|PER|PHA|PHB|PHD|PHK|PHP|PHX|PHY|PLA|PLB|PLD|PLP|PLX|PLY|REP|ROL|ROR|RTI|RTL|RTS|SBC|SEC|SED|SEI|SEP|STA|STP|STX|STY|STZ|TAX|TAY|TCD|TCS|TDC|TRB|TSB|TSC|TSX|TXA|TXS|TXY|TYA|TYX|WAI|WDM|XBA|XCE)\b</string>
<key>name</key>
<string>keyword.mnemonic.65816</string>
<key>include</key>
<string>#M6502</string>
</dict>
<dict>
<key>include</key>
<string>#M65C02</string>
</dict>
<dict>
<key>include</key>
<string>#M65816</string>
</dict>
</array>
<key>repository</key>
@ -31,6 +37,13 @@
<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>
@ -55,17 +68,10 @@
<key>hex_number</key>
<dict>
<key>match</key>
<string>\$[A-Za-z0-9]+</string>
<string>\$[A-Fa-f0-9]+</string>
<key>name</key>
<string>constant.numeric.hex</string>
</dict>
<key>long_mnemonics</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>octal_number</key>
<dict>
<key>match</key>

View File

@ -4,33 +4,35 @@
<dict>
<key>fileTypes</key>
<array/>
<key>isDisabled</key>
<false/>
<key>name</key>
<string>EDASM</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.asm.65816#M6502</string>
<string>#M6502</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#M65C02</string>
<string>#M65C02</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#hex_number</string>
<string>#hex_number</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#binary_number</string>
<string>#binary_number</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#decimal_number</string>
<string>#decimal_number</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#octal_number</string>
<string>#octal_number</string>
</dict>
<dict>
<key>match</key>
@ -106,6 +108,65 @@
<string>keyword.operator</string>
</dict>
</array>
<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>
<key>scopeName</key>
<string>source.asm.6502.edasm</string>
<key>uuid</key>

View File

@ -6,25 +6,35 @@
<array>
<string>aii</string>
</array>
<key>isDisabled</key>
<false/>
<key>name</key>
<string>MPW Asm IIgs</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.asm.65816</string>
<string>#M6502</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#hex_number</string>
<string>#M65C02</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#binary_number</string>
<string>#M65816</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#decimal_number</string>
<string>#hex_number</string>
</dict>
<dict>
<key>include</key>
<string>#binary_number</string>
</dict>
<dict>
<key>include</key>
<string>#decimal_number</string>
</dict>
<dict>
<key>match</key>
@ -377,6 +387,65 @@
<string>support.function.macro</string>
</dict>
</array>
<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>
<key>scopeName</key>
<string>source.asm.65816.mpw</string>
<key>uuid</key>

View File

@ -6,25 +6,35 @@
<array>
<string>S</string>
</array>
<key>isDisabled</key>
<false/>
<key>name</key>
<string>Merlin</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.asm.65816</string>
<string>#M6502</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#long_mnemonics</string>
<string>#M65C02</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#hex_number</string>
<string>#M65816</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#decimal_number</string>
<string>#M65816L</string>
</dict>
<dict>
<key>include</key>
<string>#hex_number</string>
</dict>
<dict>
<key>include</key>
<string>#decimal_number</string>
</dict>
<dict>
<key>match</key>
@ -362,6 +372,65 @@
<string>keyword.operator</string>
</dict>
</array>
<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>
<key>scopeName</key>
<string>source.asm.65816.merlin</string>
<key>uuid</key>

View File

@ -13,28 +13,32 @@
<key>patterns</key>
<array>
<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>
<key>include</key>
<string>#M6502</string>
</dict>
<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>
<key>include</key>
<string>#M65C02</string>
</dict>
<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>
<key>include</key>
<string>#M65816</string>
</dict>
<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>
<key>include</key>
<string>#M65816L</string>
</dict>
<dict>
<key>include</key>
<string>#binary_number</string>
</dict>
<dict>
<key>include</key>
<string>#decimal_number</string>
</dict>
<dict>
<key>include</key>
<string>#hex_number</string>
</dict>
<dict>
<key>match</key>
@ -42,24 +46,6 @@
<key>name</key>
<string>keyword.mnemonic.65816.alt</string>
</dict>
<dict>
<key>match</key>
<string>%[01]+</string>
<key>name</key>
<string>constant.numeric.binary</string>
</dict>
<dict>
<key>match</key>
<string>\b([0-9]+)\b</string>
<key>name</key>
<string>constant.numeric.decimal</string>
</dict>
<dict>
<key>match</key>
<string>\$[A-Fa-f0-9]+</string>
<key>name</key>
<string>constant.numeric.hex</string>
</dict>
<dict>
<key>match</key>
<string>^[A-Za-z][A-Za-z0-9_]*</string>
@ -173,6 +159,65 @@
<string>keyword.operator</string>
</dict>
</array>
<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>
<key>scopeName</key>
<string>source.asm.65816.ninjaforce</string>
<key>uuid</key>

View File

@ -7,29 +7,39 @@
<string>src</string>
<string>s</string>
</array>
<key>isDisabled</key>
<false/>
<key>name</key>
<string>ORCA/M</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.asm.65816</string>
<string>#M6502</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#hex_number</string>
<string>#M65C02</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#binary_number</string>
<string>#M65816</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#decimal_number</string>
<string>#hex_number</string>
</dict>
<dict>
<key>include</key>
<string>source.asm.65816#octal_number</string>
<string>#binary_number</string>
</dict>
<dict>
<key>include</key>
<string>#decimal_number</string>
</dict>
<dict>
<key>include</key>
<string>#octal_number</string>
</dict>
<dict>
<key>match</key>
@ -282,6 +292,65 @@
<string>string.quoted.single</string>
</dict>
</array>
<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>
<key>scopeName</key>
<string>source.asm.65816.orcam</string>
<key>uuid</key>