摘要 |
<p>In order to realise exceptions which can be controlled by means of software, the present invention provides a method for implementing program control of exceptions, said method including a processor executing the following steps: a step in which a control specification command for specifying exception control with regard to whether or not an exception is enabled is executed, and an exception control specification value is set in a register; a step in which a control execution command for executing exception control with regard to whether or not an exception is generated is executed, it is determined whether or not the control specification value set in the register is a value that enables an exception, and an exception is generated when the control specification value is a value that enables an exception; and a step in which an exception is not generated when the control specification value set in the register is not a value that enables an exception.</p> |