fileTypes src s name ORCA/M patterns include source.asm.65816 include source.asm.65816#hex_number include source.asm.65816#binary_number include source.asm.65816#decimal_number include source.asm.65816#octal_number match \b(?i:BLT|BGE|CPA)\b name keyword.mnemonic.65816.alt captures 1 name entity.name.function 2 name keyword.directive match ^([_~A-Za-z][_~A-Za-z0-9]*)\s+((?i)START|DATA|PRIVDATA)\b name meta.function match ^[*;!.].* name comment.line.m65816 comment actually this is position dependent... match ;.* name comment.line.m65816 match ^[_~A-Za-z][_~A-Za-z0-9]*\b name entity.name.label captures 1 name keyword.directive 2 name constant.language comment eg: LONGA ON match \b((?i)ABSADDR|CASE|CODECHK|DATACHECK|DYNCHK|ERR|EXPAND|IEEE|INSTIME|LIST|LONGA|LONGI|MSB|NUMSEX|OBJCASE|PRINTER|SYMBOL|65C02|65816)\s+((?i)ON|OFF) name meta.onoff.directive captures 1 name keyword.directive 2 name string.quoted.other.path comment eg: KEEP pathname match \b((?i)APPEND|COPY|KEEP|MCOPY)\s+(\S*) name meta.path.directive begin \b((?i)DC)\s+(\d*)([bB])(') beginCaptures 1 name keyword.directive 2 name constant.numeric.decimal 3 name storage.type comment DC nB'...' end (')$ name meta.dc.b patterns match [0|1] name constant.numeric.binary match \S name invalid.illegal.binary begin \b((?i)DC)\s+(\d*)([hH])(') beginCaptures 1 name keyword.directive 2 name constant.numeric.decimal 3 name storage.type comment dc nH'...' end (')$ name meta.dc.h patterns match [0-9A-Fa-f] name constant.numeric.hexidecimal match \S name invalid.illegal.hexidecimal begin \b((?i)DC)\s+(\d*)([A-Za-z])(\d*)(') beginCaptures 1 name keyword.directive 2 name constant.numeric.decimal 3 name storage.type 4 name constant.numeric.decimal comment DC nIn'...', DC C'...' contentName string.quited.single end (')|$ name meta.dc.other match \b(?i:ABSADDR|ALIGN|ANOP|APPEND|CASE|CODECHK|COPY|DATA|DATACHK|DC|DIRECT|DS|DYNCHK|EJECT|END|ENTRY|EQU|ERR|EXPAND|GEQU|IEEE|INSTIME|KEEP|KIND|LIST|LONGA|LONGI|MCOPY|MEM|MERR|MSB|NUMSEX|OBJ|OBJCASE|OBJEND|ORG|PRINTER|PRIVATE|PRIVDATA|RENAME|SETCOM|START|SYMBOL|TITLE|USING|65C02|65816)\b name keyword.directive match \b[aA]\b name variable.language.register match (?<=,)([xXyYsS])\b name variable.language.register match [=<>+-/|*#()^\[\]]|(<>|<=|>=) name keyword.operator match (?i:\.AND\.|\.EOR\.|\.OR\.) name keyword.operator match "[^"]*" name string.quoted.double match '[^']*' name string.quoted.single scopeName source.asm.65816.orcam uuid 20FD91A7-4399-46D9-B4C6-B733A52F7B40