mirror of https://github.com/mgba-emu/mgba.git
Small framework for decompiler
This commit is contained in:
parent
4c1014685f
commit
5b91d6d336
|
@ -0,0 +1,6 @@
|
|||
#include "decompiler.h"
|
||||
|
||||
void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) {
|
||||
// TODO
|
||||
info->opcode = opcode;
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue