2018-03-20 20:32:56 +00:00
|
|
|
# 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:
|
|
|
|
|
2018-03-22 17:08:30 +00:00
|
|
|
# 6502x pseudo opcodes
|
2018-03-20 20:32:56 +00:00
|
|
|
'mnemonics-6502x':
|
|
|
|
patterns: [
|
|
|
|
# mnemonics
|
|
|
|
{
|
|
|
|
match: '\\b(?i:ALR|ANC|ARR|AXS|DCP|ISC|LAS|LAX|RLA|RRA|SAX|SLO|SRE)\\b'
|
2018-03-22 17:08:30 +00:00
|
|
|
name: 'keyword.mnemonic.6502x.6502x-opcodes'
|
2018-03-20 20:32:56 +00:00
|
|
|
}
|
|
|
|
]
|