diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-04-22 15:23:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-22 15:23:50 -0400 |
commit | 3d0133c2f793e82d7519d8e2c5023114cd0f0eab (patch) | |
tree | b262ededf7e993090d7a860b76ca528b5651c3c6 /src/sim/instr.cc | |
parent | 1250359dfcbcad18c0a1078290f95479aa23e26a (diff) | |
parent | 86a6253a2fb2d016a63e57d6a5e5461df87668e5 (diff) |
Merge pull request #67 from bdunahu/bdunahu
add RET instruction, JAL ob1 error (full subroutine support), condition codes for everything but shifts
Diffstat (limited to 'src/sim/instr.cc')
-rw-r--r-- | src/sim/instr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/instr.cc b/src/sim/instr.cc index c8d1039..9bd951b 100644 --- a/src/sim/instr.cc +++ b/src/sim/instr.cc @@ -35,6 +35,6 @@ const std::unordered_map<unsigned int, Mnemonic> mnemonic_map = { {0b0101101, STOREV}, {0b0000110, JMP}, {0b0001010, JRL}, {0b0001110, JAL}, {0b0010010, BEQ}, {0b0010110, BGT}, {0b0011010, BUF}, {0b0011110, BOF}, {0b0100010, PUSH}, - {0b0100110, POP}, + {0b0100110, POP}, {0b0101010, RET}, }; } // namespace instr |