mirror of
https://github.com/jtfmumm/6502asm-sublime.git
synced 2024-12-28 19:32:13 +00:00
Minor
This commit is contained in:
parent
c2182a6011
commit
f170f95c75
@ -6,31 +6,31 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\b(adc|and|asl|dec|dex|dey|eor|inc|inx|iny|lsr|ora|rol|ror|sbc)\\b",
|
"match": "(?i)\\b(adc|and|asl|dec|dex|dey|eor|inc|inx|iny|lsr|ora|rol|ror|sbc)\\b",
|
||||||
"name": "keyword.operator.asm",
|
"name": "keyword.arithlogic.asm",
|
||||||
"comment": "Arithmetic and logic instruction mnemonics"
|
"comment": "Arithmetic and logic instruction mnemonics"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\b(bcc|bcs|beq|bmi|bne|bpl|bvc|bvs|jmp|jsr|rti|rts)\\b",
|
"match": "(?i)\\b(bcc|bcs|beq|bmi|bne|bpl|bvc|bvs|jmp|jsr|rti|rts)\\b",
|
||||||
"name": "keyword.operator.asm",
|
"name": "keyword.branch.asm",
|
||||||
"comment": "Branch instruction mnemonics"
|
"comment": "Branch instruction mnemonics"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\b(bit|cmp|cpx|cpy)\\b",
|
"match": "(?i)\\b(bit|cmp|cpx|cpy)\\b",
|
||||||
"name": "keyword.operator.asm",
|
"name": "keyword.compare.asm",
|
||||||
"comment": "Comparison instructions"
|
"comment": "Comparison instructions"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\b(clc|cld|cli|clv|sec|sed|sei)\\b",
|
"match": "(?i)\\b(clc|cld|cli|clv|sec|sed|sei)\\b",
|
||||||
"name": "keyword.operator.asm",
|
"name": "keyword.flagset.asm",
|
||||||
"comment": "Flag setting instructions"
|
"comment": "Flag setting instructions"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\b(lda|ldx|ldy|pha|php|pla|plp|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\\b",
|
"match": "(?i)\\b(lda|ldx|ldy|pha|php|pla|plp|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\\b",
|
||||||
"name": "keyword.operator.asm",
|
"name": "keyword.transfer.asm",
|
||||||
"comment": "Load, store, and transfer instructions"
|
"comment": "Load, store, and transfer instructions"
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -59,15 +59,15 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\%(0b(0|1)+)\\b",
|
"match": "(?i)\\%[0|1]+)\\b",
|
||||||
"name": "constant.numeric.asm",
|
"name": "constant.numeric.asm",
|
||||||
"comment": "Bin number constant"
|
"comment": "Binary number constant"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"match": "(?i)\\#(0|[1-9]\\d+)\\b",
|
"match": "(?i)\\#([0-9]+)\\b",
|
||||||
"name": "constant.numeric.asm",
|
"name": "constant.numeric.asm",
|
||||||
"comment": "Dec number constant"
|
"comment": "Decimal number constant"
|
||||||
}
|
}
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\b(adc|and|asl|dec|dex|dey|eor|inc|inx|iny|lsr|ora|rol|ror|sbc)\b</string>
|
<string>(?i)\b(adc|and|asl|dec|dex|dey|eor|inc|inx|iny|lsr|ora|rol|ror|sbc)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>keyword.operator.asm</string>
|
<string>keyword.arithlogic.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\b(bcc|bcs|beq|bmi|bne|bpl|bvc|bvs|jmp|jsr|rti|rts)\b</string>
|
<string>(?i)\b(bcc|bcs|beq|bmi|bne|bpl|bvc|bvs|jmp|jsr|rti|rts)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>keyword.operator.asm</string>
|
<string>keyword.branch.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\b(bit|cmp|cpx|cpy)\b</string>
|
<string>(?i)\b(bit|cmp|cpx|cpy)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>keyword.operator.asm</string>
|
<string>keyword.compare.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\b(clc|cld|cli|clv|sec|sed|sei)\b</string>
|
<string>(?i)\b(clc|cld|cli|clv|sec|sed|sei)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>keyword.operator.asm</string>
|
<string>keyword.flagset.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
@ -48,7 +48,7 @@
|
|||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\b(lda|ldx|ldy|pha|php|pla|plp|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b</string>
|
<string>(?i)\b(lda|ldx|ldy|pha|php|pla|plp|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>keyword.operator.asm</string>
|
<string>keyword.transfer.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
@ -84,17 +84,17 @@
|
|||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
<string>Bin number constant</string>
|
<string>Binary number constant</string>
|
||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\%(0b(0|1)+)\b</string>
|
<string>(?i)\%[0|1]+)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>constant.numeric.asm</string>
|
<string>constant.numeric.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>comment</key>
|
<key>comment</key>
|
||||||
<string>Dec number constant</string>
|
<string>Decimal number constant</string>
|
||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>(?i)\#(0|[1-9]\d+)\b</string>
|
<string>(?i)\#([0-9]+)\b</string>
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>constant.numeric.asm</string>
|
<string>constant.numeric.asm</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
Loading…
Reference in New Issue
Block a user