A python Yasm Wrapper for x86 and x64.
Python x86/x64 wrapper for Yasm
import pyyasm # some inline asm which does nothing just to show how the library works # __asm as to be bytes. __asm = b""" use32 org 0 pushfd pushad popad popfd """ bytecode = pyyasm.assemble(__asm) print(bytecode) > b'f\x9cf`faf\x9d'
python setup.py test
0.0.1: initial release (07/05/2017)
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
pyyasm-0.0.1.tar.gz (506.7 kB view hashes)