m68kdecode
Version:
Port of deplinenoise/m68kdecode to Typescript
9 lines (8 loc) • 329 B
TypeScript
import { DecodedInstruction } from "./types";
/**
* Attempt to decode a single M68000 instruction starting at `code[0]`
*
* @param {Uint8Array} code Instruction byte array
* @returns {DecodedInstruction} Decoded instruction structured data
*/
export declare function decodeInstruction(code: Uint8Array): DecodedInstruction;