all repos — mgba @ 5b91d6d3362f97e465a49d7bc3a381bcbe8c5045

mGBA Game Boy Advance Emulator

Small framework for decompiler
Jeffrey Pfau jeffrey@endrift.com
Wed, 30 Oct 2013 23:22:38 -0700
commit

5b91d6d3362f97e465a49d7bc3a381bcbe8c5045

parent

4c1014685fd4551f75d56e16bdc9af85bf00cc16

2 files changed, 18 insertions(+), 0 deletions(-)

jump to
A src/arm/decompiler.c

@@ -0,0 +1,6 @@

+#include "decompiler.h" + +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) { + // TODO + info->opcode = opcode; +}
A src/arm/decompiler.h

@@ -0,0 +1,12 @@

+#ifndef ARM_DECOMPILER_H +#define ARM_DECOMPILER_H + +#include <stdint.h> + +struct ThumbInstructionInfo { + uint16_t opcode; +}; + +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info); + +#endif