PURPOSE: To realize a memory controller to maintain the consistency of memory access in a system provided with plural processors and a shared memory.
CONSTITUTION: A memory managing means 10 to manage the memory access is installed between a shared memory means 3 and a first and a second memory requesting means 1, 2. When the request of the read-out or the write-in of data is generated from the memory requesting means 1, 2 to the memory means 3, an access area registering means 10 decodes memory request size, and registers beforehand the access area of the memory means 3. Besides, when the memory requests are generated at a time to the memory means 3 from plural memory requesting means, an access area coincidence discriminating means 12 discriminates whether these access areas coincide with each other or not, and instructs the priority order of access processing. Next, a memory request size updating means 13 updates the request size at every access.