| 6 | IMPLEMENT(Call); |
| 7 | |
| 8 | bool Call::execute(aithread &thread) const |
| 9 | { |
| 10 | // Retrieve parameters |
| 11 | WORD wOffset; |
| 12 | thread.readTuple( std::tie(wOffset) ); |
| 13 | |
| 14 | // Call the offset |
| 15 | thread.call( wOffset ); |
| 16 | |
| 17 | // Save debug info and return |
| 18 | thread.saveDebug(Text::Green, this->getOpcode(), "p_%04X", wOffset); |
| 19 | return true; |
| 20 | } |