Merge pull request #1 from decrazyo/master

add ca65 predefined macro packages
This commit is contained in:
ksherlock 2022-07-07 15:30:37 -04:00 committed by GitHub
commit f85bd90adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,3 +240,13 @@ contexts:
- match: \b(?i:RTN|SET|LD|LDD|ST|STD|POP|POPD|STP|ADD|SUB|CPR|INR|DCR|BR|BNC|BC|BP|BM|BZ|BNZ|BM1|BNM1|BK|RS|BS)\b - match: \b(?i:RTN|SET|LD|LDD|ST|STD|POP|POPD|STP|ADD|SUB|CPR|INR|DCR|BR|BNC|BC|BP|BM|BZ|BNZ|BM1|BNM1|BK|RS|BS)\b
scope: keyword.mnemonic.sweet16 scope: keyword.mnemonic.sweet16
set: operand set: operand
mnemonics-macpack-generic:
- match: \b(?i:ADD|SUB|BGE|BLT|BGT|BLE|BNZ|BZE)\b
scope: keyword.mnemonic.macpack.generic
set: operand
mnemonics-macpack-longbranch:
- match: \b(?i:JEQ|JNE|JMI|JPL|JCS|JCC|JVS|JVC)\b
scope: keyword.mnemonic.macpack.longbranch
set: operand