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
Release files for asm2d 0.2.3
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.2.3.tar.gz | 17.7 kB | Details |
Release files / asm2d-0.2.3.tar.gz
| Download URL | asm2d-0.2.3.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
398ed26428d9544a24b8f3c8c42edf79b5d0d234f5b5c10b7c6e6037cf8135c6
|
|
BLAKE2b-256 checksum How to use checksums |
99c22dd2761f40ef6e3ec90b0ed7b4c5d2d01937ced2c1f2b95b4fa111cf4c14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |