Skip to main content

An assembler for the 68112D microprocessor

Project description

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

The asm2d assembler turns the 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
asm2d-0.2.3.tar.gz (17.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page