/Apassembler

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Apassembler

Tool to generate APAS isa compliant opcode from it's human readable version.

Usage

> apassembler [assembly file path]

You may display binary output or hexadecimal output with the following flags.

> apassembler --binary res/test.asm
> apassembler --hex res/test.asm

The complete set of available flags and parameters can be retrieved with the --help flag.

> apassembler --help

Disclaimer

This program is a quick prototype and is not intended for real use. It does not provides any garantee of stability nor correctness.

TODO

  • Instruction type I parsing
  • Instruction type II parsing
  • Instruction type III parsing
  • Instruction type IV parsing
  • Instruction type V parsing
  • Instruction type VI parsing
  • Immediate values
  • Pointer operands
  • Anonymous labels
  • Negative immediate values
  • Symbolic address immediate value
  • Absolute symbolic address resolver
  • Relative symbolic address resolver
  • Raw data parsing
  • Discard comments
  • Raw binary output