diff --git a/GB_debugger_evaluate.md b/GB_debugger_evaluate.md index b653e2d..b5598e9 100644 --- a/GB_debugger_evaluate.md +++ b/GB_debugger_evaluate.md @@ -6,8 +6,16 @@ In `debugger.h` ## Description -TBD +Evaluates the expression `string` in the context of an emulator instance. Return `true` if the expression was evaluated successfully. + +If `result` is not `NULL`, it will be populated with the 16-bit result of the evaluated expression upon success. + +If `result_bank` is not `NULL`, it will be populated with the bank of the evaluated expression, or `0xFFFF` if the result is not banked, upon success. ## Thread Safety `GB_debugger_evaluate` must not be called if the instance is being run in another thread, but may be called from the current one (via a callback). + +## See Also + +* [[GB_debugger_execute_command]] \ No newline at end of file