Asm

This is aimed at implementing an inline assembler.

Currently, it provides the following:

Installation

The package can be installed by adding asm to your list of dependencies in mix.exs:

def deps do
[
{:asm, "~> 0.0.7"}
]
end

Usage

defmodule Foo do
require Asm
import Asm
def add(a, b) when is_int64(a) and is_int64(b) do
a + b
end
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/asm.