Fig. 12.6.2 illustrates this process using 24 bit virtual addresses and 1K pages (and frames) on a machine with only 1/2 Megabyte (524,288 bytes) of real memory. Dividing 524,288 by the page size (1024) gives us 512, which is the number of frames. Thus, the 16,384 pages of a program, its total virtual memory, must be somehow placed into 512 frames of real memory, and this of course is assuming that one program gets all of real memory, a very unrealistic assumption. Since there is only half a megabyte of real memory, the MAR would only be 19 bits long. |