Python-based 8051 Assembly Code Generator.
Project description
PyASMGen
Write 8051 Assembly with Python.
Writing SDK is better than writing Assembly 😎
What is this?
PyASMGen is a Python-based 8051 Assembly code generator. It's made for electronics and embedded systems students who:
- Are tired of typing
MOV A, #0FFHover and over - Keep messing up
SJMPtarget addresses - Can write the logic but hate syntax fuss
You write Python, it outputs real assembly.
Your code works. Your homework is done. Your teacher won’t complain. 👨🏫
Why did I make this?
Because:
- Python is just nicer than assembly
- Assembly syntax errors are unforgiving
- It’s easier to debug, submit and share logic using Python
- Honestly, it’s just fun 🤪
Features
- ✅ Instruction set wrapped in Python methods
- 🧠 Built-in parameter checking and error alerts
- 🧱 Declarative programming style (coming soon)
- 🔌 Can be integrated with LLMs (e.g., Llyra)
- 🐍 Pure Python, cross-platform
Roadmap
- Syntax correction + semantic hints
- Support for interrupts & serial communication
- Macros and conditional generation
- Auto-commenting of assembly
- HEX file generation & Keil/Proteus integration
Install
pip install pyasmgen
Slogan
"Writing SDK is better than writing Assembly 😎"
License
MIT License — for students, by a student 🧑🤝🧑
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyasmgen-0.1.0.tar.gz.
File metadata
- Download URL: pyasmgen-0.1.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29205721969d8e822d5d9212b014716713e56472e345a779fb44765f73b3c0e6
|
|
| MD5 |
3f183cf7d1ff6405f848b9da28c968e7
|
|
| BLAKE2b-256 |
f729000b7c75f0ca2764695f1f03fa0090dcc263fe0b624d27728a8610283ddb
|
File details
Details for the file pyasmgen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyasmgen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
965126e6b9a1f96c0ac676d5585e4e33644596a3b37637a322378d3eb82abe20
|
|
| MD5 |
0aecc7bee5d667ae0f6889b6faed970c
|
|
| BLAKE2b-256 |
ec480ef0aad2851caa5f77b2070dc020791b9710174d9e12bfaa8e29be73904d
|