![]() |
|
| << Previous | Next >> | |
| | |
void defineErrorHandler( void * errfcn );
Description
- Sets the BIOS function pointer for runtime errors to the function pointed to by
errfcn. This user-defined function must be in root memory. Specifyrootat the start of the function definition to ensure this. When a runtime error occurs, the following information is passed to the error handler on the stack:
SP+0 Return address for exceptionRetSP+2 Error code SP+4 0x0000 (can be used for additional information) SP+6 XPC when exception()was called (upper byte)SP+8 Address where exception()was calledParameters
- errfcn
- Pointer to user-defined run-time error handler.
Library
- SYS.LIB
| Dynamic C Functions | << Previous | Next >> | rabbit.com |