diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-05 12:46:08 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-05 12:46:08 +0100 |
commit | e9ffa56110da05a6938ad690872cdac6d48fd586 (patch) | |
tree | 22da4ca26d3cfe6e7277b92843209300b5a99e09 /qtmips_machine/instruction.h | |
parent | fc343acc4d81d06e5cba92b74de3565b6d12dfcf (diff) | |
download | qtmips-e9ffa56110da05a6938ad690872cdac6d48fd586.tar.gz qtmips-e9ffa56110da05a6938ad690872cdac6d48fd586.tar.bz2 qtmips-e9ffa56110da05a6938ad690872cdac6d48fd586.zip |
Reorganize PC handling and implement full REGIMM decode.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r-- | qtmips_machine/instruction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h index 8396bc7..a8779f5 100644 --- a/qtmips_machine/instruction.h +++ b/qtmips_machine/instruction.h @@ -63,6 +63,10 @@ enum InstructionFlags { IMF_READ_HILO = 1L<<15, IMF_WRITE_HILO = 1L<<16, IMF_PC8_TO_RT = 1L<<17, + IMF_BRANCH = 1L<<18, + IMF_JUMP = 1L<<19, + IMF_BJ_NOT = 1L<<20, + IMF_BGTZ_BLEZ = 1L<<21, }; class Instruction { |