diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-05 00:26:18 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-05 00:26:18 +0100 |
commit | 81e8aa97313ef863291d70368e29081220ddce27 (patch) | |
tree | 8999cf07a751220c277f9af9dd9a85fa02586f91 /qtmips_machine/instruction.h | |
parent | 54e20dad0f8efe01152d00fe41bf6aa2c44f5bba (diff) | |
download | qtmips-81e8aa97313ef863291d70368e29081220ddce27.tar.gz qtmips-81e8aa97313ef863291d70368e29081220ddce27.tar.bz2 qtmips-81e8aa97313ef863291d70368e29081220ddce27.zip |
Rewrite instruction decoding to be generic and mostly architecture independent.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r-- | qtmips_machine/instruction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h index c19a205..496f75e 100644 --- a/qtmips_machine/instruction.h +++ b/qtmips_machine/instruction.h @@ -95,6 +95,9 @@ public: enum AluOp alu_op() const; enum AccessControl mem_ctl() const; + void flags_alu_op_mem_ctl(enum InstructionFlags &flags, + enum AluOp &alu_op, enum AccessControl &mem_ctl) const; + bool is_break() const; bool operator==(const Instruction &c) const; |