mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
5093b97cda
* wip decompiler ir * add AtomicOp stuff * fix windows build and warnings * add instruction parser * include * make minilzo shared * odr fix * a * fix merge conflicts * move decompiler into namespace * update the code coverage to include the decompiler * add demo test * add register use test to example test
21 lines
516 B
C++
21 lines
516 B
C++
#pragma once
|
|
|
|
/*!
|
|
* @file InstructionDecode.h
|
|
* The Instruction Decoder - converts a LinkedWord into a Instruction.
|
|
* This is the part of the disassembler that decodes MIPS instructions.
|
|
*/
|
|
|
|
#ifndef NEXT_INSTRUCTIONDECODE_H
|
|
#define NEXT_INSTRUCTIONDECODE_H
|
|
|
|
#include "Instruction.h"
|
|
|
|
namespace decompiler {
|
|
class LinkedWord;
|
|
class LinkedObjectFile;
|
|
|
|
Instruction decode_instruction(LinkedWord& word, LinkedObjectFile& file, int seg_id, int word_id);
|
|
} // namespace decompiler
|
|
#endif // NEXT_INSTRUCTIONDECODE_H
|