mirror of
https://github.com/jtfmumm/6502asm-sublime.git
synced 2025-03-12 02:34:25 +00:00
Minor
This commit is contained in:
parent
6edf6d3f30
commit
ea9f0bd41a
@ -7,13 +7,13 @@
|
||||
{
|
||||
"match": "(?i)\\b(adc|and|asl|dec|dex|dey|eor|inc|inx|iny|lsr|ora|rol|ror|sbc)\\b",
|
||||
"name": "keyword.arithlogic.asm",
|
||||
"comment": "Arithmetic and logic instruction mnemonics"
|
||||
"comment": "Arithmetic and logic instructions"
|
||||
},
|
||||
|
||||
{
|
||||
"match": "(?i)\\b(bcc|bcs|beq|bmi|bne|bpl|bvc|bvs|jmp|jsr|rti|rts)\\b",
|
||||
"name": "keyword.branch.asm",
|
||||
"comment": "Branch instruction mnemonics"
|
||||
"comment": "Branch instructions"
|
||||
},
|
||||
|
||||
{
|
||||
@ -37,7 +37,7 @@
|
||||
{
|
||||
"match": "(\/\/|;)(\\s|\\S)*",
|
||||
"name": "comment.line.asm",
|
||||
"comment": "Comment line"
|
||||
"comment": "Comment"
|
||||
},
|
||||
|
||||
|
||||
@ -50,37 +50,37 @@
|
||||
{
|
||||
"match": "(?i)\\.([\\w|\\d]*)\\b",
|
||||
"name": "entity.name.function.asm",
|
||||
"comment": "."
|
||||
"comment": "Directives"
|
||||
},
|
||||
|
||||
{
|
||||
"match": "(^|\\s)\"[\\w\\s\\W]*\"",
|
||||
"name": "string.asm",
|
||||
"comment": "Single-line string"
|
||||
"comment": "String"
|
||||
},
|
||||
|
||||
{
|
||||
"match": "(^|\\s)\\'[\\w\\s\\W]*\\'($|\\s)",
|
||||
"name": "string.asm",
|
||||
"comment": "Single-line string"
|
||||
"comment": "String"
|
||||
},
|
||||
|
||||
{
|
||||
"match": "(?i)\\$((\\d|[A-F])+)\\b",
|
||||
"name": "constant.numeric.asm",
|
||||
"comment": "Hex number constant"
|
||||
"comment": "Hex number"
|
||||
},
|
||||
|
||||
{
|
||||
"match": "(?i)\\%([0|1]+)\\b",
|
||||
"name": "constant.numeric.asm",
|
||||
"comment": "Binary number constant"
|
||||
"comment": "Binary number"
|
||||
},
|
||||
|
||||
{
|
||||
"match": "(?i)\\#([0-9]+)\\b",
|
||||
"name": "constant.numeric.asm",
|
||||
"comment": "Decimal number constant"
|
||||
"comment": "Decimal number"
|
||||
}
|
||||
|
||||
],
|
||||
|
@ -12,7 +12,7 @@
|
||||
<array>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Arithmetic and logic instruction mnemonics</string>
|
||||
<string>Arithmetic and logic instructions</string>
|
||||
<key>match</key>
|
||||
<string>(?i)\b(adc|and|asl|dec|dex|dey|eor|inc|inx|iny|lsr|ora|rol|ror|sbc)\b</string>
|
||||
<key>name</key>
|
||||
@ -20,7 +20,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Branch instruction mnemonics</string>
|
||||
<string>Branch instructions</string>
|
||||
<key>match</key>
|
||||
<string>(?i)\b(bcc|bcs|beq|bmi|bne|bpl|bvc|bvs|jmp|jsr|rti|rts)\b</string>
|
||||
<key>name</key>
|
||||
@ -52,7 +52,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Comment line</string>
|
||||
<string>Comment</string>
|
||||
<key>match</key>
|
||||
<string>(//|;)(\s|\S)*</string>
|
||||
<key>name</key>
|
||||
@ -68,7 +68,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>.</string>
|
||||
<string>Directives</string>
|
||||
<key>match</key>
|
||||
<string>(?i)\.([\w|\d]*)\b</string>
|
||||
<key>name</key>
|
||||
@ -76,7 +76,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Single-line string</string>
|
||||
<string>String</string>
|
||||
<key>match</key>
|
||||
<string>(^|\s)"[\w\s\W]*"</string>
|
||||
<key>name</key>
|
||||
@ -84,7 +84,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Single-line string</string>
|
||||
<string>String</string>
|
||||
<key>match</key>
|
||||
<string>(^|\s)\'[\w\s\W]*\'($|\s)</string>
|
||||
<key>name</key>
|
||||
@ -92,7 +92,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Hex number constant</string>
|
||||
<string>Hex number</string>
|
||||
<key>match</key>
|
||||
<string>(?i)\$((\d|[A-F])+)\b</string>
|
||||
<key>name</key>
|
||||
@ -100,7 +100,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Binary number constant</string>
|
||||
<string>Binary number</string>
|
||||
<key>match</key>
|
||||
<string>(?i)\%([0|1]+)\b</string>
|
||||
<key>name</key>
|
||||
@ -108,7 +108,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>comment</key>
|
||||
<string>Decimal number constant</string>
|
||||
<string>Decimal number</string>
|
||||
<key>match</key>
|
||||
<string>(?i)\#([0-9]+)\b</string>
|
||||
<key>name</key>
|
||||
|
Loading…
x
Reference in New Issue
Block a user