摘要 |
PROBLEM TO BE SOLVED: To reduce a code quantity of a game control program.SOLUTION: In a game machine provided with a game controller, there are provided: game control program storage means; arithmetic processing means performing arithmetic processing; a register storing data when the arithmetic processing is performed; and update information storage means storing information to be updated by the arithmetic processing means. In the update information storage means, a stack area is set, the register includes a flag register for storing an arithmetic result by the arithmetic processing means, and the game control program includes a calling source routine, a first calling destination routine called by calling source routine, and a second calling destination routine called by a prescribed interruption signal. When the first calling destination routine is called, the arithmetic processing means stores a return address in the stack area and starts processing without storing the flag register. When the second calling destination routine is called, the arithmetic processing means stores the return address and the flag register in the stack area and starts processing.SELECTED DRAWING: Figure 48 |