fileTypes aii name MPW Asm IIgs patterns include source.asm.65816 include source.asm.65816#hex_number include source.asm.65816#binary_number include source.asm.65816#decimal_number match \b(?i:BLT|BGE|CPA|DEA|INA|SWA|TAS|TSA)\b name keyword.mnemonic.65816.alt comment Rockwell/m740 match \b(?:BBC|BBR|BBS|CLB|RMB|SEB|SMB)[0-9]\b name keyword.mnemonic.other comment Rockwell/m740 match \b(?i:CLT|COM|LDM|RRF|SETT|TST)\b name keyword.mnemonic.other captures 1 name entity.name.function 2 name keyword.directive match ^([A-Za-z@_~][A-Za-z0-9@_~%$#]*)\s+((?i)PROC|PROCNAME|FUNC|INIT|STACKDP)\b name meta.function captures 1 name keyword.directive 2 name entity.name.function match \b((?i)ENTRY)\s+([A-Za-z@_~][A-Za-z0-9@_~%$#]*)\b name meta.entry captures 1 name entity.name.record 2 name keyword.directive match ^([A-Za-z@_~][A-Za-z0-9@_~%$#]*)\s+((?i)RECORD)\b name meta.record match ^[A-Za-z@_~][A-Za-z0-9@_~%$#]*\b name entity.name.label match (?<=,)([xXyYsS])\b name variable.language.register match \b(?i:NOT|DIV|MOD|AND|OR|XOR|EOR)\b name keyword.operator begin " end " name string.quoted.double begin ' end ' name string.quoted.single match ^[*;].* name comment.line match ;.* name comment.line match [=<>+-/|*#()^]|(<>|<=|>=) name keyword.operator match \b(?i:NOT|DIV|MOD|AND|OR|XOR|EOR)\b name keyword.operator begin \b((?i)MACRO)\b captures 1 name keyword.directive 2 name keyword.directive comment enable &# macro parameters w/in a MAC ... ^^^ definition. end \b((?i)ENDMACRO|ENDM|MEND)\b name meta.macro patterns include $self match &[A-Za-z][A-Za-z0-9]* name variable.parameter captures 1 name keyword.directive 2 name constant.language comment eg: LONGA ON match \b((?i)CODECHK|DATACHK|LONGA|LONGI|MSB)\s+((?i)ON|OFF)\b name meta.onoff.directive captures 1 name keyword.directive 2 name constant.language match \b((?i)STRING)\s+((?i)ASIS|PASCAL|C|GS/OS)\b name meta.string.directive captures 1 name keyword.directive 2 name constant.language match \b((?i)BLANKS)\s+((?i)ON|OFF|YES|NO|Y|N)\b name meta.blanks.directive captures 1 name keyword.directive 2 name constant.language match \b((?i)BLANKS)\s+((?i)ON|OFF|YES|NO|Y|N|OBJECT|OBJ)\b name meta.case.directive captures 1 name keyword.directive 2 name constant.language match \b((?i)MACHINE)\s+((?i)M65816|M6502|M65C02|M65CX02|M740)\b name meta.machine.directive begin \b((?i)PRINT)\b beginCaptures 1 name keyword.directive end $ name meta.print.directive patterns match ;.* name comment.line match \b(?i:ON|OFF|PUSH|POP)\b name constant.language match \b(?i:NO)?(?i:GEN|PAGE|WARN|MCALL|OBJ|DATA|MDIR|HDR|LITS|STAT|SYM)\b name constant.language match [^,\t ] name invalid.illegal.operand match \b(?i:ALIGN|BLANKS|CASE|CODE|CODECHK|DATACHK|DIRECT|DUMP|EJECT|END|ENDF|ENDFUNC|ENDI|ENDP|ENDPROC|END_PROC|ENDR|ENDSTACK|ENDS|ENDWITH|ENTRY|EQU|EXPORT|FUNC|IMPORT|INCLUDE|INIT|LOAD|LONGA|LONGI|MACHINE|MSB|ORG|PAGESIZE|PRINT|PROC|RECORD|SEG|SEGATTR|SET|SPACE|STACKDP|STRING|TITLE|WITH)\b name keyword.directive captures 1 name keyword.directive.data 3 name storage.type match \b((?i)DC|DCB|DS)([.](.))?\b name meta.dc.directive match \b(?i:ACTR|AERROR|ANOP|CYCLE|ELSE|ELSEIF|ENDIF|ENDM|ENDMACRO|ENDWHILE|EXITM|GOTO|IF|LEAVE|MACRO|MEND|MEXIT|THEN|WHILE|WRITE|WRITELN|SET|SETA|SETC)\b name support.function.macro match &(?i:ABS|CHR|CONCAT|DEFAULT|DELSYMTBL|ENTERSYM|EVAL|FINDSYM|GETENV|INTTOSTR|I2S|ISINT|LEN|LEX|LIST|LOWCASE|LC|MAX|MIN|NBR|NEWSYMTBL|ORD|POS|SCANEQ|SCANNE|STRTOINT|S2I|SETTING|SUBSTR|SYSDATE|SYSINDEX|SYSLIST|SYSLST|SYSLOCAL|SYSGLOBAL|SYSMOD|SYSSEG|SYSTIME|SYSTOKEN|SYSTOKSTR|SYSVALUE|SYSFLAGS|TRIM|TYPE|UPCASE|UC)\b name support.function.macro scopeName source.asm.65816.mpw uuid 64362FB8-D779-440E-ABF7-5D238FF4A65D