Please indicate which statements are correct and why (there
should be 2 correct statements).
Consider the following
snippet of code. Assume that instruction and memory addresses are 16-bits in
length, and are represented as hexadecimal numbers (e.g. Ox1080). The code runs
on a system that supports virtual memory as described in class – i.e., the
processor fetches from a virtual address stored in the PC register, and LOAD,
STORE memory operations use virtual addresses to reference memory. R1, R2 are
general-purpose registers.
Address Instruction
Ox0000 LOAD R1, Ox1020
Ox0002 STORE R1, Ox2040
Assume pages are 256 bytes in size (i.e. page
numbers are 8 bits long, and the page offset is also 8 bits long), and that the
following mappings are indexed by the page map address register:
Virtual Physical Permissions (R: Read, W:
Write, X: eXecute)
Ox0000 Ox1000 RX
Ox1000 Ox5000 RW
Ox2000 Ox3000 R
Select all the correct
statements:
The LOAD will raise an
exception when it is executed
The virtual-physical
address mappings are not valid because contiguous pages in the virtual address
space must map to contiguous page frames in physical memory
After the LOAD
instruction executes, R1 will have the contents of physical* memory location
Ox5020
The STORE will raise an
exception when it is executed
The STORE will raise an
exception when it is fetched
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more