language-65asm/grammars/65816-aliases.cson
2018-03-22 18:08:30 +01:00

24 lines
527 B
Plaintext

# Aliases for certain opcodes used by many assemblers
scopeName: 'source.65816-aliases'
patterns: [
# The 65816 instruction set aliases
{
include: '#mnemonics-65816-aliases'
}
]
# Respository starts here -----------------------------------------------------
repository:
# 65816 instruction set aliases
'mnemonics-65816-aliases':
patterns: [
# mnemonics
{
match: '\\b(?i:BGE|BLT|CPA|DEA|INA|SWA|TAD|TAS|TDA|TSA)\\b'
name: 'keyword.mnemonic.65816.65816-aliases'
}
]