68hc11 ASM Parser

Description

The 68hc11 parser allows you to have 68hc11 ASM code rendered nicely inside Moin's code blocks.

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

parser/68hc11.py

1.0

1.5

ParserMarket/68hc11/ReleaseNotes

Installation

For general installation instructions, see ParserMarket/InstallingParsers. This parser requires no special dependencies, such as outside Python libraries.

Usage

To use this parser, simply put #!68hc11 after the beginning of the code block.

Example

{{{#!68hc11
pia     equ     ...
dra     equ     0
ddra    equ     0
cra     equ     1

psp     ldx     #pia

        brset   cra,x #%10000000 port_a ; branch to port A
        brset   crb,x #%10000000 port_b ; branch to port B
        rti

port_a  ldaa    dra,x
        ldy     read_addr
        staa    0,y
        iny
        sty     read_addr
        rti

port_b  ldaa    drb,x
        ldy     write_addr
        ldab    0,y
        stab    drb,x
        iny
        sty     write_addr
        rti

}}}

This parser is copyrighted by JureVrscaj

License

This parser is released under the terms of the GNU GPL.

Discussion

MoinMoin: ParserMarket/68hc11 (last edited 2008-01-28 18:42:43 by FedericoLorenzi)