Menu

Language Request: m68K Assembly

Isaac
2007-01-30
2012-11-13
  • Isaac

    Isaac - 2007-01-30

    I'd love to see language support for m68K assembly.
    Currently I tweak the Language.xml file to switch Intel ASM to m68K.
    The way m68K is that most instructions (eg move) have you tack on a 'size' to it, eg [move.b/move.w/move.l].
    Is there a way to make NotePad++ recognize a suffix?
    I just triplicated all the instructions and added .b/.w/.l to each.

     
    • Isaac

      Isaac - 2007-01-30

      The valid op codes.
      Most support a .w and .l suffixes and many also a .b

      abcd add adda addi addq addx and andi asl asr bcc bchg bchg bclr bclr bcs beq beq beq bge bgt bhi bhs ble blo bls blt bmi bne bne bne bpl bra bset bset bsr btst btst bvc bvs chk clr cmp cmpa cmpi cmpm dbeq dbf dbge dbgt dbhi dble dbls dblt dbmi dbne dbpl dbr dbra dbra dbt divs divu eor eori exg jmp jsr lea link lsl lsr move movea movem movep moveq muls mulu nbcd neg negx nop not or ori pea reset rol ror roxl roxl rte sbcd scc scs seq seq seq sge sgt shi shs sle slo sls slt smi sne sne sne spl stop sub suba subi subq subx svc svs swap tas trap trapv tst unlk