jasm 0.1.0

An assembler for the JDH-8 architecture.
Documentation
  • Coverage
  • 0%
    0 out of 13 items documented0 out of 0 items with examples
  • Size
  • Source code size: 13.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 710.68 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • AppleFlavored/jasm
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • AppleFlavored

JASM

An assembler for the JDH-8 architecture written in Rust.

Assembler API

The assembler is available as a library on crates.io. Here is a basic example of how to use the API:

fn main() {
    let mut assembler = Assembler::new();

    // mw a, 4
    // mw b, 3
    // add a, b
    assembler.mw(Register::A, RegisterOrImm::Imm8(4));
    assembler.mw(Register::B, RegisterOrImm::Imm8(3));
    assembler.add(Register::A, RegisterOrImm::Reg(Register::B));

    let bytes = assembler.bytes();
}

License

JASM is licensed under the MIT License. See LICENSE for more details.