diff --git a/src/arm/decompiler.c b/src/arm/decompiler.c new file mode 100644 index 000000000..3960aa16b --- /dev/null +++ b/src/arm/decompiler.c @@ -0,0 +1,6 @@ +#include "decompiler.h" + +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) { + // TODO + info->opcode = opcode; +} diff --git a/src/arm/decompiler.h b/src/arm/decompiler.h new file mode 100644 index 000000000..59c47887b --- /dev/null +++ b/src/arm/decompiler.h @@ -0,0 +1,12 @@ +#ifndef ARM_DECOMPILER_H +#define ARM_DECOMPILER_H + +#include + +struct ThumbInstructionInfo { + uint16_t opcode; +}; + +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info); + +#endif