semvec/pypi-packages huggingface dataset:
pyyasm 0.0.1
A python Yasm Wrapper for x86 and x64.
License: BSD

pyyasm
======
.. image:: https://codecov.io/gh/srounet/PyYasm/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/srounet/PyYasm
  
.. image:: https://ci.appveyor.com/api/projects/status/y1yj33qd633a5tk5?svg=true
  :target: https://ci.appveyor.com/project/srounet/pyyasm

Python x86/x64 wrapper for Yasm

Using pyyasm
============

.. code-block:: python

    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'


Running tests
=============

.. code-block:: shell

    python setup.py test

Changelog
=========

0.0.1: initial release (07/05/2017)