This commit is contained in:
Nav
2024-10-04 23:46:08 +01:00
parent d906f2f426
commit 5cc53d7f69
3 changed files with 5 additions and 6 deletions

View File

@@ -40,6 +40,8 @@ namespace Services
* If `instructions` does not contain the subsequent instruction, we'll just return std::nullopt for
* instructions that skip the subsequent instruction.
*
* TODO: Why can't we just pass in the next instruction here? Instead of passing in the entire mapping?
*
* @return
* The destination byte address the subject instruction may jump to, if we were able to resolve it.
* Otherwise, std::nullopt.