language-65asm/grammars/65816l-opcodes.cson

24 lines
500 B
Plaintext
Raw Normal View History

2018-06-03 02:12:44 +00:00
# Pseudo opcodes for the 65816 used by some assemblers
scopeName: 'source.65816l-opcodes'
patterns: [
# The 65816 instruction set
{
include: '#mnemonics-65816l'
}
]
# Respository starts here -----------------------------------------------------
repository:
# 65816 instruction set
'mnemonics-65816l':
patterns: [
# mnemonics
{
match: '\\b(?i:ADCL|ANDL|CMPL|EORL|LDAL|ORAL|SBCL|STAL)\\b'
name: 'keyword.mnemonic.65816.65816l-opcodes'
}
]