language-65asm/grammars/6502ex-opcodes.cson
2018-03-20 20:54:24 +01:00

24 lines
543 B
Plaintext

# Adds the pseudo codes known as 6502EX to the basic 6502 instruction set
scopeName: 'source.6502ex-opcodes'
patterns: [
# The 6502 pseudo opcodes known as 6502EX
{
include: '#mnemonics-6502ex'
}
]
# Respository starts here -----------------------------------------------------
repository:
# 6502 pseudo op codes
'mnemonics-6502ex':
patterns: [
# mnemonics
{
match: '\\b(?i:ALR|ANC|ARR|AXS|DCP|ISC|LAS|LAX|RLA|RRA|SAX|SLO|SRE)\\b'
name: 'keyword.mnemonic.6502.6502ex-opcodes'
}
]