Assembler and disassembler facilities to decode and encode instructions
Decode (disassemble) an instruction by taking the hexpairs string as input. TODO: should take an array of bytes too
the mnemonic and operands of the resulting decoding
Encode (assemble) an instruction by taking the string representation.
the hexpairs that represent the assembled instruciton
Change the address of the program counter, some instructions need to know where * are they located before being encoded or decoded.
Generated using TypeDoc