Patent ID: 7802135

Claim:
A method for executing a rollback process to restore a run state of a microcomputer to a past state, the method comprising: preparing an access flag table and an address list, the access flag table recording information indicating whether a write access previously occurred with respect to an access destination address of a main memory, the address list listing an address of the main memory, wherein data of the address was saved to a saving memory; referring to one of (i) the access flag table and (ii) the address list, prior to a write access to an access destination address of the main memory; making, with respect to the access destination address, an occurrence determination as to whether a write access previously occurred; saving prior-update data, which is data before updating, of the access destination address to the saving memory while updating the one of the access flag table and the address list referred to, when the occurrence determination is negated; and using the prior-update data saved to the saving memory when executing a rollback process.