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.s
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.s -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.s -w 512
Help
asm2d -h
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file asm2d-0.1.9.tar.gz.
File metadata
- Download URL: asm2d-0.1.9.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c35fff99578a35779dabcdc835bbe5dda210bfcf55b9b2ce881b3dee9fe68cd
|
|
| MD5 |
909c7b148010c6c67ecb5212b9b651a9
|
|
| BLAKE2b-256 |
ac8b757a0da2e8e13a81c088bb28a57f6f767d18389d37e182893e7502b6b73e
|