mirror of
https://github.com/ksherlock/65816.tmbundle.git
synced 2025-01-21 20:30:34 +00:00
Ninjaforce ST compatibility
This commit is contained in:
parent
30d37402ab
commit
7406de1818
@ -6,29 +6,35 @@
|
||||
<array>
|
||||
<string>s</string>
|
||||
</array>
|
||||
<key>isDisabled</key>
|
||||
<false/>
|
||||
<key>name</key>
|
||||
<string>NinjaForce assembler</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>source.asm.65816</string>
|
||||
<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>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>source.asm.65816#long_mnemonics</string>
|
||||
<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>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>source.asm.65816#hex_number</string>
|
||||
<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>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>source.asm.65816#binary_number</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>source.asm.65816#decimal_number</string>
|
||||
<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>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
@ -36,6 +42,24 @@
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user