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
Release files for asm2d 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asm2d-0.1.9.tar.gz | 12.6 kB | Details |
Release files / asm2d-0.1.9.tar.gz
| Download URL | asm2d-0.1.9.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c35fff99578a35779dabcdc835bbe5dda210bfcf55b9b2ce881b3dee9fe68cd
|
|
BLAKE2b-256 checksum How to use checksums |
ac8b757a0da2e8e13a81c088bb28a57f6f767d18389d37e182893e7502b6b73e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |