| CPC G06F 9/3865 (2013.01) [G06F 9/30123 (2013.01); G06F 9/38 (2013.01); G06F 9/3854 (2023.08)] | 20 Claims |

|
1. An exception handling method, comprising:
calling a second function according to a call instruction of a first function, the first function comprising a high-level language function, and the second function comprising a runtime function;
performing a return operation of the second function when an exception occurs in a process of executing the second function, the return operation of the second function comprises restoring a status of a first register used when the second function is executed to a status before the first function calls the second function; and
performing exception handling based on the status of the first register.
|