XEDParse: A MASM-like, single-line plaintext assembler
C++ C Other
Latest commit e4c02f4 Jun 13, 2016 @mrexodia mrexodia improved number parser

README.md

XEDParse

Build status

XEDParse is a library to parse MASM-like plaintext instructions to the XED instruction format. The library is meant to have quick access to assembly in certain low-level programs (such as debuggers).

Currently finished:

  • Parsing instructions to an internal data structure
  • Translate the instruction base to XED2
  • Translate registers to XED2
  • Encode the translated structure
  • Translate values
  • Translate memory arguments

Todo:

  • Handle instructions with more than two operands correctly

Currently the parser can be considered reasonably fast, parsing about 200,000 instructions in 1.5 seconds.