摘要 |
PURPOSE:To decrease the save area of an interruption master mask, by using a stack that saves the information to be saved when an interruption is accepted plus a master mask storing means of a bit into which the contents of each master mask are written. CONSTITUTION:When an interruption is accepted, flags C, N and Z of the masks except an interruption master mask I which are previously stored in a condition code register 10 are pushed successively from the highest part of a stack area 20 of an RAM along with the information X stored in a register 40. The contents of a master mask storing latch 30 are written according to the mask I. The latch 30 is written in the form of 1 and 0 is case the mask I is 1 and 0, respectively. As a result, the interruptions are successively accepted and each information is pushed to a stack area 20 of an RAM. And 1 is continuously written into the latch 30. When 0 is written into the latch 30, the information is just hopped thereafter. |