摘要 |
PURPOSE:To execute the necessary processing at the time of ending by providing a circuit for giving forcibly an address of a processing program at the time of requesting power-off to a processor. CONSTITUTION:A power-off processing program stored in a read-only ROM 17 checks the validity of data on a memory, executes a processing for sweeping out data recognized as valid to a prescribed position of an external disk, and subsequently, executes a processing for writing the data for instructing power-off in a power-off circuit 18. When a power-off switch 12 is depressed, an NMI interruption goes into a processor 11, and address read-out of an interruption processing program becomes data outputted from a power-off processing address sending-out circuit 15 irrespective of the contents of a vector base register in the processor 11, therefore, the control is transferred to the head of the power-off processing program store ROM 17. In such a way, power-off can be executed after valid data in a disk cache is subjected to sweep-out processing to an external disk. |