摘要 |
PURPOSE:To prevent a simultaneous access to a shared memory by providing a lock signal generating flip-flop to a processor which has no TS instruction nor an instruction equivalent to said TS instruction. CONSTITUTION:The lock signal generating flip-flops F/F-A, and F/F-B are provided to processors PSC-A and PSC-B respectively for a multi-processor system containing plural processors connected to a shared memory CM. Then the read/ write is carried out for the lock byte of the memory CM, and the access given from one of two processors PSC-A and PSC-B is inhibited until a series of accesses given from the other processor are through. As a result, a lock function equivalent to a TS instruction can be obtained even in case both processors have no TS instruction nor an instruction equivalent to the TS instruction. |