jak-project/decompiler/Disasm/InstructionDecode.h
water111 5093b97cda
[Decompiler - New IR] Add AtomicOp (#181)
* 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
2021-01-06 20:04:15 -05:00

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