! Syntax Highlighting Patterns for 68HC11 Assembly Language ! (Thanks to Brett Janson) ! ! In NEdit Version 5.0.1 and beyond, load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! In version 5.0, without -import, you must edit your .nedit file by hand and ! add the contents of each resource below to the corresponding list in your ! .nedit file. Be sure to separate new entries with \n, and continue resource ! strings by escaping all newlines within a resource value with \ (backslash), ! leaving only the last line of the resource value not ending in \. ! nedit.highlightPatterns: \ ASM 6811:1:0{\n\ keyword:"<(ABA|ABX|ABY|ADCA|ADCB|ADDA|ADDB|ADDD|ANDA|ANDB|ASL|ASLA|ASLB|ASLD|ASR|ASRA|ASRB|BCC|BCLR|BCS|BEQ|BGE|BGT|BHI|BHS|BITA|BITB|BLE|BLO|BLS|BLT|BMI|BNE|BPL|BRA|BRCLR|BRN|BRSET|BSET|BSR|BVC|BVS|CBA|CLC|CLI|CLR|CLRA|CLRB|CLV|CMPA|CMPB|COM|COMA|COMB|CPD|CPX|CPY|DAA|DEC|DECA|DECB|DES|DEX|DEY|EORA|EORB|FDIV|IDIV|INC|INCA|INCB|INS|INX|INY|JMP|JSR|LDAA|LDAB|LDD|LDS|LDX|LDY|LSL|LSLA|LSLB|LSLD|LSR|LSRA|LSRB|LSRD|MUL|NEG|NEGA|NEGB|NEGD|NOP|ORAA|ORAB|PSHA|PSHB|PSHX|PSHY|PULA|PULB|PULX|PULY|ROL|ROLA|ROLB|ROR|RORA|RORB|RTI|RTS|SBA|SBCA|SBCB|SEC|SEI|SET_FEATURE|SEV|STAA|STAB|STD|STOP|STS|STX|STY|SUBA|SUBB|SUBD|SWI|TAB|TAP|TBA|TEST|TPA|TST|TSTA|TSTB|TSX|TSY|TXS|TYS|WAI|XGDX|XGDY)>":::Keyword::D\n\ comment:"^\\*.*":::Comment::\n\ Inline Comment:";.*":::Comment::\n\ Files:"/.*m11":::String2::\n\ Local Label:"[0-9]+\\$":::Identifier::\n\ Assembler Directives:"<(ABSOLUTE|NOABSOLUTE|ALIGN|AORG|ASCT|ASECT|BLIST|BSCT|BSZ|CASESENSITIVE|NOCASESENSITIVE|CLIST|NCLIST|COMM|CSCT|DEBUG|NODEBUG|DSCT|ELSE|END|ENDC|ENDF|ENDIF|ENDM|ENDR|ENDW|ERROR|EQU|EXITF|EXITR|EXITW|EXTERN|FAIL|FCC|FCB|FDB|FQB|FLOAT|FOR|FORMLN|NOFORMLN|GEN|NOGEN|IDNT|IF|IFDEF|IFNDEF|INCLUDE|INTERN|IRP|IRPC|LINK|LIST|NLIST|LOCAL|MACRO|MACR|MAXITERATIONS|MESSG|MEXIT|MLIST|NMLIST|NAM|OBJECT|NOOBJECT|OPT|ORG|PAGE|PRINT|NOPRINT|PSCT|RADIX|RELOCATABLE|NORELOCATABLE|REPT|RESTORE|RMB|RMD|RMQ|RORG|RSECT|SAVE|SECT|SET|SHORT|NOSHORT|SPACE|SPC|SUBTTL|TITLE|TTL|UTIL|WHILE|WRAP|NOWRAP|XDEF|XREF|ZORG)>":::Preprocessor::D\n\ Number:"<(-?[0-9]+)|(\\$[0-9a-fA-F]+)>":::String2::D\n\ } nedit.languageModes: ASM 6811:.m11 .mac::::::