diff options
author | bd <bdunahu@operationnull.com> | 2025-04-21 23:00:25 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-21 23:00:25 -0400 |
commit | cf8f181af044141f754404c1174bc3317a123d93 (patch) | |
tree | 866234fe4b367959f566e947c1395ea317559500 /src/sim/instr.cc | |
parent | 98b9786ccab6fdee37a779fdd55b58176abf12d9 (diff) |
add RET instruction
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 |