Exception handling for an interrupt-time driven system RPN interpreter
Original Publication Date: 2003-Jan-16
Included in the Prior Art Database: 2003-Jan-16
This is a scheme for implementing an exception handling mechanism within a Reverse Polish Notation instruction set of a real or virtual machine. The instruction extensions permit easy adoption of try-catch semantics by high-level languages that generate RPN code. This scheme also implements support for a diagnostic call back or stack trace mechanism at the machine instruction level - again this affords advantages for high-level language compilers. This particular mechanism was designed for use by Dynamic Probes, which employs an RPN based Virtual Machine interpreter that operates stand-alone, without immediate access to user interfaces within the context of a system interrupt service routine.