Illustration of the process from getting machine instructions to getting data
[Supplementary]
(1)TLB only has set associativity and fully associativity. Direct mapping resource utilization is too low
(2) There are two ways to judge out-of-bounds:
① Upper and lower limit registers:
in A pair of upper and lower limit registers are set up in the CPU to store the lower limit and upper limit addresses of user jobs in the main memory.
Whenever the CPU wants to access an address, Compare with the values of the two registers to determine whether there is an out-of-bounds situation.
②Relocation register + boundary address register
The relocation register contains the minimum physical address, and the boundary address register contains the logical address Themaximum value.
Compare the logical address with the boundary address register . If it is not out of bounds, add the value of the relocation register. Map it into a physical address and then send it to the memory unit.
Principles of computer organization - from an instruction to data
Guess you like
Origin blog.csdn.net/weixin_44343355/article/details/134315672
Recommended
Ranking