x64<em>asm at crates.io x64</em>asm at docs.rs

x64_asm

x86_64 assembler

Get Started

How to use as an assembler command

cargo build ./target/debug/x64_asm <assembly-file in AT&T syntax>

How to use as a Rust crate

See documentation

```rust use x64_asm;

fn main() -> Result<(), Box>{ // you can pass a file(or string). let elfbuilder = x64asm::assemblefile("asm.s", x64asm::Syntax::ATANDT)?;

elf_builder.generate_elf_file("obj.o")?;

Ok(())

} ```

Test

cargo test cargo test --features sample

Dependencies