mirror of
https://github.com/MatthewCallis/language-65asm.git
synced 2024-07-03 05:29:29 +00:00
25 lines
573 B
Plaintext
25 lines
573 B
Plaintext
|
# Adds the pseudo codes known as 6502X to the basic 6502 instruction set
|
||
|
# NOTE: look for extra opcodes: jam
|
||
|
|
||
|
scopeName: 'source.6502x-opcodes'
|
||
|
|
||
|
patterns: [
|
||
|
# The 6502 pseudo opcodes known as 6502X
|
||
|
{
|
||
|
include: '#mnemonics-6502x'
|
||
|
}
|
||
|
]
|
||
|
|
||
|
# Respository starts here -----------------------------------------------------
|
||
|
repository:
|
||
|
|
||
|
# 6502 pseudo op codes
|
||
|
'mnemonics-6502x':
|
||
|
patterns: [
|
||
|
# mnemonics
|
||
|
{
|
||
|
match: '\\b(?i:ALR|ANC|ARR|AXS|DCP|ISC|LAS|LAX|RLA|RRA|SAX|SLO|SRE)\\b'
|
||
|
name: 'keyword.mnemonic.6502.6502x-opcodes'
|
||
|
}
|
||
|
]
|