摘要 |
Disclosed is a microprocessor storage management method: whenever a process references a logic address, a storage management unit searches in a cache index storage cell and automatically looks up in a "quick table" first; if the logic address is found, a cache address on the chip is translated; if the logic address is not found, an address translation operation is executed; a page frame number is added to last 13 bits of the logic address to obtain a physical address; if the address is in a range of a multitask protection start address register to a multitask protection end address register, virtual address translation is successful; and if the address is not in a range of the start address register to the end address register, a microprocessor generates an address translation out-of-range exception. A novel microprocessor storage management method is provided by the present invention, and translation speed of a logic address to a physical address is accelerated. The operating system can prevent illegal accesses of user programs by arranging the multitask protection start address register and the multitask protection end address register. |