Dani Messerman af8817314a Formatting
2015-05-10 22:33:16 +03:00

19 lines
332 B
C++

#include "Instruction.h"
#include "Types.h"
class Branch : public Instruction
{
public:
enum class Form
{
Immediate, Register
};
bool Decode() override;
void GenerateInstructionCode(InstructionBlock* instruction_block) override;
private:
Form form;
bool link;
u32 imm24;
Register rm;
};