Interested in a PLAGIARISM-FREE paper based on these particular instructions?...with 100% confidentiality?

Order Now

Translate the following logical addresses to physical addresses (1)0x9900 (2)0x1774 (3)0xeff 8 (4)0xcaac · 64 KB virtual add ress space · 32 KB physical address space · 4 KB page size · Page table 0 – 1 4 2 – 3 – 4 0 5 1 6 6 7 – 8 – 9 7 a 5 b – c – d 2 e 3 f – Write a program la2pa that translates a logical address to a physical address. The page table should be read from a file. The program takes two inputs, a page table file and a logical address, and produces one output, a physical address I will provide you a page table file with the following format 4096 0 – 1 4 2 – 3 – 4 0 … where the first line gives the page size, the rest of the file give a mapping between the logical page and the physical page. ‘-‘ means the page is not mapped Your program must handle abnormal inputs If the input is an invalid logical address, your program must print “invalid invalid address” If the input is an unmapped logical address, your program must print “page fault” Both the input and the output of the program should be in hexadecimal format Assume your program is called la2pa $ la2pa page-table-file 5500 1500 Will your program work if the page size is not 4 KB ? For example, will it work if the page size is 1 KB?

Translate the following logical addresses to physical addresses (1)0x9900 (2)0x1774 (3)0xeff      8 (4)0xcaac  · 64 KB virtual add  ress space · 32 KB physical address space · 4 KB page size · Page table  0 –  1 4  2 –  3 –  4 0  5 1  6 6  7 –  8 –  9 7  a 5  b –  c –  d 2  e 3  f –      Write a program la2pa that translates a logical address to a physical address. The page table should be read from a file. The program takes two inputs, a page table file and a logical address, and produces one output, a physical address I will provide you a page table file with the following format 4096 0 – 1 4 2 – 3 – 4 0 … where the first line gives the page size, the rest of the file give a mapping between the logical page and the physical page. ‘-‘ means the page is not mapped      Your program must handle abnormal inputs If the input is an invalid logical address, your program must print “invalid invalid address” If the input is an unmapped logical address, your program must print “page fault” Both the input and the output of the program should be in hexadecimal format      Assume your program is called la2pa $ la2pa page-table-file 5500 1500      Will your program work if the page size is not 4 KB ? For example, will it work if the page size is 1 KB?

Interested in a PLAGIARISM-FREE paper based on these particular instructions?...with 100% confidentiality?

Order Now