Implements the `Gosub` opcode.
(&mut self, instr: u32)
| 768 | |
| 769 | /// Implements the `Gosub` opcode. |
| 770 | pub(super) fn do_gosub(&mut self, instr: u32) { |
| 771 | let offset = bytecode::parse_gosub(instr); |
| 772 | if !self.push_frame(Frame { old_pc: self.pc, old_fp: self.fp, ret_reg: None }) { |
| 773 | return; |
| 774 | } |
| 775 | self.pc = Address::from(offset); |
| 776 | } |
| 777 | |
| 778 | /// Implements the `GreaterDouble` opcode. |
| 779 | pub(super) fn do_greater_double(&mut self, instr: u32) { |