Skip to content

Instantly share code, notes, and snippets.

@pfiscarelli
Last active December 18, 2022 21:17
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfiscarelli/4013e3fd743c41ffa788328fbbb4bfd9 to your computer and use it in GitHub Desktop.
Save pfiscarelli/4013e3fd743c41ffa788328fbbb4bfd9 to your computer and use it in GitHub Desktop.
<NotepadPlus>
<UserLang name="6809 Assembly" ext="asm" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00; 01 02 03* 04((EOL))</Keywords>
<Keywords name="Numbers, prefix1">0x 0X $ % @ #</Keywords>
<Keywords name="Numbers, prefix2">0x 0X $ % @ #</Keywords>
<Keywords name="Numbers, extras1">a b c d e f A B C D E F</Keywords>
<Keywords name="Numbers, extras2">a b c d e f A B C D E F</Keywords>
<Keywords name="Numbers, suffix1">H h D d O o</Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">&apos; - ! ( ) , [ ] ^ + &lt; &gt; &amp; | * ? #</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open"></Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"></Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open">{</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close">}</Keywords>
<Keywords name="Keywords1">abx&#x000D;&#x000A;adca&#x000D;&#x000A;adcb&#x000D;&#x000A;adda&#x000D;&#x000A;addb&#x000D;&#x000A;addd&#x000D;&#x000A;anda&#x000D;&#x000A;andb&#x000D;&#x000A;andcc&#x000D;&#x000A;asl&#x000D;&#x000A;asla&#x000D;&#x000A;aslb&#x000D;&#x000A;asr&#x000D;&#x000A;asra&#x000D;&#x000A;asrb&#x000D;&#x000A;bcc&#x000D;&#x000A;lbcc&#x000D;&#x000A;bcs&#x000D;&#x000A;lbcs&#x000D;&#x000A;beq&#x000D;&#x000A;lbeq&#x000D;&#x000A;bge&#x000D;&#x000A;lbge&#x000D;&#x000A;bgt&#x000D;&#x000A;lbgt&#x000D;&#x000A;bhi&#x000D;&#x000A;lbhi&#x000D;&#x000A;bhs&#x000D;&#x000A;lbhs&#x000D;&#x000A;bita&#x000D;&#x000A;bitb&#x000D;&#x000A;ble&#x000D;&#x000A;lble&#x000D;&#x000A;blo&#x000D;&#x000A;lblo&#x000D;&#x000A;bls&#x000D;&#x000A;lbls&#x000D;&#x000A;blt&#x000D;&#x000A;lblt&#x000D;&#x000A;bmi&#x000D;&#x000A;lbmi&#x000D;&#x000A;bne&#x000D;&#x000A;lbne&#x000D;&#x000A;bpl&#x000D;&#x000A;lbpl&#x000D;&#x000A;bra&#x000D;&#x000A;lbra&#x000D;&#x000A;brn&#x000D;&#x000A;lbrn&#x000D;&#x000A;bsr&#x000D;&#x000A;lbsr&#x000D;&#x000A;bvc&#x000D;&#x000A;lbvc&#x000D;&#x000A;bvs&#x000D;&#x000A;lbvs&#x000D;&#x000A;clr&#x000D;&#x000A;clra&#x000D;&#x000A;clrb&#x000D;&#x000A;cmpa&#x000D;&#x000A;cmpb&#x000D;&#x000A;cmpd&#x000D;&#x000A;cmps&#x000D;&#x000A;cmpu&#x000D;&#x000A;cmpx&#x000D;&#x000A;cmpy&#x000D;&#x000A;coma&#x000D;&#x000A;comb&#x000D;&#x000A;com&#x000D;&#x000A;cwai&#x000D;&#x000A;daa&#x000D;&#x000A;deca&#x000D;&#x000A;decb&#x000D;&#x000A;dec&#x000D;&#x000A;eora&#x000D;&#x000A;eorb&#x000D;&#x000A;exg&#x000D;&#x000A;inca&#x000D;&#x000A;incb&#x000D;&#x000A;inc&#x000D;&#x000A;jmp&#x000D;&#x000A;jsr&#x000D;&#x000A;lda&#x000D;&#x000A;ldb&#x000D;&#x000A;ldd&#x000D;&#x000A;lds&#x000D;&#x000A;ldu&#x000D;&#x000A;ldx&#x000D;&#x000A;ldy&#x000D;&#x000A;leas&#x000D;&#x000A;leau&#x000D;&#x000A;leax&#x000D;&#x000A;leay&#x000D;&#x000A;lsla&#x000D;&#x000A;lslb&#x000D;&#x000A;lsl&#x000D;&#x000A;lsra&#x000D;&#x000A;lsrb&#x000D;&#x000A;lsr&#x000D;&#x000A;mul&#x000D;&#x000A;nega&#x000D;&#x000A;negb&#x000D;&#x000A;neg&#x000D;&#x000A;nop&#x000D;&#x000A;ora&#x000D;&#x000A;orb&#x000D;&#x000A;orcc&#x000D;&#x000A;pshs&#x000D;&#x000A;pshu&#x000D;&#x000A;puls&#x000D;&#x000A;pulu&#x000D;&#x000A;rola&#x000D;&#x000A;rolb&#x000D;&#x000A;rol&#x000D;&#x000A;rora&#x000D;&#x000A;rorb&#x000D;&#x000A;ror&#x000D;&#x000A;rti&#x000D;&#x000A;rts&#x000D;&#x000A;sbca&#x000D;&#x000A;sucb&#x000D;&#x000A;sex&#x000D;&#x000A;sta&#x000D;&#x000A;stb&#x000D;&#x000A;std&#x000D;&#x000A;sts&#x000D;&#x000A;stu&#x000D;&#x000A;stx&#x000D;&#x000A;sty&#x000D;&#x000A;suba&#x000D;&#x000A;subb&#x000D;&#x000A;subd&#x000D;&#x000A;swi&#x000D;&#x000A;swi2&#x000D;&#x000A;swi3&#x000D;&#x000A;sync&#x000D;&#x000A;tfr&#x000D;&#x000A;tsta&#x000D;&#x000A;tstb&#x000D;&#x000A;tst&#x000D;&#x000A;&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords2">equ&#x000D;&#x000A;fcb&#x000D;&#x000A;fcc&#x000D;&#x000A;fcn&#x000D;&#x000A;fdb&#x000D;&#x000A;org&#x000D;&#x000A;rmb&#x000D;&#x000A;setdp&#x000D;&#x000A;zmb&#x000D;&#x000A;&#x000D;&#x000A;&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords3">include&#x000D;&#x000A;opt&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords4">POLCAT&#x000D;&#x000A;CHROUT&#x000D;&#x000A;CSRDON&#x000D;&#x000A;BLKIN&#x000D;&#x000A;BLKOUT&#x000D;&#x000A;JOYIN&#x000D;&#x000A;WRTLDR&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords5">a&#x000D;&#x000A;b&#x000D;&#x000A;d&#x000D;&#x000A;x&#x000D;&#x000A;y&#x000D;&#x000A;s&#x000D;&#x000A;u&#x000D;&#x000A;cc&#x000D;&#x000A;dp&#x000D;&#x000A;pcr</Keywords>
<Keywords name="Keywords6">ct</Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00&apos; 01 02&apos; 03&quot; 04 05&quot; 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="CA33DB" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="80FF80" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="80FF80" bgColor="000000" colorStyle="1" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FF8000" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0080FF" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="0080FF" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FFFF80" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="00FFFF" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="06013A" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FF8000" bgColor="2A211C" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FFFFFF" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="FF0080" bgColor="06013A" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="FF8080" bgColor="000000" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="FF8080" bgColor="2A211C" colorStyle="1" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="00FF40" bgColor="2A211C" colorStyle="1" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="2A211C" fontName="" fontStyle="14" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
@pfiscarelli
Copy link
Author

This is a User Defined Language (UDL) for Notepad++. The custom format is intended for 6809 assembly language programming with LWASM as the target cross-compiler.

This is adapted from a Vectrex 6809 implementation which may be found here - http://bit.ly/1fQnNLt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment