Skip to main content

Python-based 8051 Assembly Code Generator.

Project description

PyASMGen Logo


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, #0FFH over and over
  • Keep messing up SJMP target 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


Download files

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

Source Distribution

pyasmgen-0.1.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyasmgen-0.1.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file pyasmgen-0.1.1.tar.gz.

File metadata

  • Download URL: pyasmgen-0.1.1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyasmgen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 588be7e7dfe99bb045ee1ed3ab803a0b9b93ed8e78d6c7d16c0e39b5b3b07a58
MD5 4601e64649f223bcc0c652ae2f76c152
BLAKE2b-256 d707fd8bf9f2905eff5fdfd7ec3109f77717758e5fe2385d120c4b472fe66bec

See more details on using hashes here.

File details

Details for the file pyasmgen-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyasmgen-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyasmgen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac9b73a86a080a03f9c9ba3b0f9d88be911421ac405c25cf79a66310db9baf4
MD5 6dc68655521d28a2ed6ebcd7678ac950
BLAKE2b-256 6c1bde22001c8b2f76e8f0fd73133957d8a09de25f3ae23adedfb94155a8ca7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page