Motorola M68000 User's Guide Page 190

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 189
176 Assembly Language Programming for the 68000 Family
Virtual Address Space
Physical Memory
page frames
Figure 15 Virtual memory mapping.
addresses. The CPU is another matter. Each user must think she has
access to all of the CPU’s capabilities, including user and supervisor states.
However, in order for the virtual machine operating system to maintain
control, the user must always run in user mode. We must be able to fool
a program into thinking that it is running in supervisor mode when it
actually isnt.
Let’s say that a program is running in the user mode and executes
a privileged instruction. An exception will be generated and the virtual
operating system can take control. It can then verify and simulate the
execution of the privileged instruction. The user program will never know
that the instruction was not executed directly. The one problem that can
not be handled in this manner is the manipulation of the status register,
SR. A user on the 68000 can execute
Page view 189
1 2 ... 185 186 187 188 189 190 191 192 193 194 195 ... 255 256

Comments to this Manuals

No comments