Page 1 of 1

Please DO NOT COPY from other incorrectly answered answers questions. This question requires the program to be written in

Posted: Sat May 14, 2022 7:18 pm
by answerhappygod
Please DO NOT COPY from other incorrectly answered answers
questions. This question requires the program to be written in
MIPs assembly language only.
Please Do Not Copy From Other Incorrectly Answered Chegg Questions This Question Requires The Program To Be Written In 1
Please Do Not Copy From Other Incorrectly Answered Chegg Questions This Question Requires The Program To Be Written In 1 (25.36 KiB) Viewed 66 times
For this assignment, you are to write a MIPS assembly language program using the MARS IDE and assume a system has 31-bit virtual memory address (so no worry about negative numbers) with a 4-KB page size (4096 bytes). Write a MIPS program that accepts an integer input that represents a virtual address and outputs the page number and offset for the given address in decimal. The output should look like: The address 19986 is in: Page number = 4 Offset = 3602 Check to make certain your program works. You can use the output from 19986 given above as a test, but I will use other numbers to test it. Submit the MIPS assembly language code and a screenshot showing a test run.