flux-asm
FLUX bytecode assembler — two-pass with labels, comments, and disassembler.
43 opcodes for the FLUX constraint enforcement VM.
Usage
# Assemble
python -m flux_asm program.fxasm -o program.flux
# Disassemble
python -m flux_asm -d program.flux
# Run self-tests
python -m flux_asm
Example
# eVTOL altitude check
PUSH 100 # altitude
PUSH 0 # min
CMP_GE # altitude >= 0?
JFAIL fail
PUSH 15000 # max
CARRY_LT # altitude < max
ASSERT
HALT
fail:
GUARD_TRAP
Metadata
Release files for flux-asm 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flux_asm-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for flux_asm-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flux_asm-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for flux_asm-0.1.0-py3-none-any.whl |
Total release size: 7.9 kB
Release files / flux_asm-0.1.0.tar.gz
| Download URL | flux_asm-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3dc8baf04b167530ea2b1aae3bdfe8ab255edc4a3268539ff194b6532fcf49d3
|
|
BLAKE2b-256 checksum How to use checksums |
c5de99c5fdb4c74c6d8858ce9487ea5a08416fa683180f44ec9b63f58a1157e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / flux_asm-0.1.0-py3-none-any.whl
| Download URL | flux_asm-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ad4a2f6404141564cb75448ba1fd866f0865344ef95710b54d1305671de2576
|
|
BLAKE2b-256 checksum How to use checksums |
79b1768158a24def605ed6b0df5cc25e765733ca6d8512bf7d07d230fece1971
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for flux-asm 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.