momiji

m68k emulator infrastructure

About Source code

Table of contents

momiji::decode

Defined in header <momiji/Decoder.h>


momiji::DecodedInstruction decode(momiji::ConstExecutableMemoryView mem, std::int64_t idx) (1)
Decodes one instruction at a specific offset inside an executable memory.
  1. Parameters:
    • momiji::ConstExecutableMemoryView mem : A view over the memory of the executable.
    • std::int64_t idx idx : Offset to where the decoder should read an instruction.