6-4 MMU Initialization Program

This is an example of the MMU initialization program.
The MMU is in the initial state, off.
The initialization program is executed in area P2, which is not subject to the MMU.

It is only necessary to turn the MMU on.
It doesn’t matter if there are no TLB registrations.
When MMU is turned on, branching to other areas is performed.
At that time, the branch instructions should be separated from the MMU ON instruction by at least 2 instructions.