
Part (a): There is a vertical block with 16 partitions. On the left of the block, the Virtual address in Megabytes is mentioned at the alternate partition. The first partition is marked with 256 megabytes of address and is empty. The second partition is empty. The third partition is marked with 224 megabytes of address and is labeled Reference Monitor. There is a backward arrow from outside that points to the third partition and labeled Reference monitor for checking the system. The fourth partition is empty. The fifth partition is marked with 192 megabytes of address and is empty. The sixth partition is empty. The seventh partition is marked with 160 megabytes of address and is empty. The eighth partition is empty. The ninth partition is marked with 128 megabytes of address and is empty. The tenth partition is empty. The eleventh partition is marked with 96 megabytes of address and is labeled Data 2. The twelfth partition is labeled Code 2. Both the eleventh and the twelfth partitions are categorized as foreign code 1. The thirteenth partition is empty. The fourteenth partition is empty. The fifteenth partition is marked with 32 megabytes of address and is labeled Data 1. The sixteenth partition is marked with 0 megabytes of address and is labeled Code 1. Both the fifteenth and the sixteenth partitions are categorized as foreign code 2. Part (b): There is a code written. Line 1: MOV R 1, S 1. Line 2: S H R hashtag 24, S 1. Line 3: C M P S 1, S 2. Line 4: TRAPNE. Line 5: J M P (R 1).
Back