Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Assembler for the 68112D microprocessor.
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
asm2d
docs
tests
.gitignore
LICENSE
MANIFEST.in
README.rst
TODO
setup.py

README.rst

Assembler for the 68112D microprocessor

The 68112D is a clone of the 68HC11 microcontroller, with extra instructions to generate 2D graphics on a VGA display.

The asm2d assembler turns assembly code into an MIF file (Memory Initialization File) that can be used to initialize a memory block during compilation and/or simulation.

Installation

Using pip:

pip install asm2d

For development

python setup.py develop

Running

Compile a file:

asm2d source.s2d

The default output file will have the same name as the source file, but with a .mif extension. You can change this with the -o flag:

asm2d source.s2d -o memory.mif

The size of the memory block will be exactly the number of words needed to translate the assembly code. You can change this with the -w argument:

asm2d source.s2d -w 512

Help

asm2d -h
Something went wrong with that request. Please try again.