Question: Write a MIPS assembly program that when run in MARS at 25 instructions/second will display in the Memory segment a 4-byte sprite that moves from

 Write a MIPS assembly program that when run in MARS at

Write a MIPS assembly program that when run in MARS at 25 instructions/second will display in the Memory segment a 4-byte "sprite" that moves from left to right across the top of the memory display. Important: set the MARS slider bar to execute at a slower speed. Omitting this step will run at full speed and no output will be apparent For example, consider the portion of the assignment where the sprite moves from left to right. Assuming that you chose a "background" of the hex digit e and a "sprite" of the hex digit 0, a "time lapse" series of snapshots of the Memory segment display would look like the data belo 0 is the sprite character Time 1 Time 2: 0xedececee Oxeeeeecee. Time 3: Oxee0eeeee Oxeee Time 4: Oxeee0eeee Oxeeeeeeee. Time 5: Oxeeee0ece 0xeeeoo.. Time 6: Oxeeeco0oe 0xeoec000. . . Time 7: Oxecccceoe Oxeeeeeeee Time 8: Oxeeseooe Oxesee Time 9: 0xeeeeeeee 0x0ee00000 Oxeeo09909 You may choose the hex digits used for the "background and the "sprite" - select two hex digits that have as much contrast as possible for best visibility. For instance, the digits e and e are poor choices because they look so similar. Your program will involve a series of nested loops. Write this program in stages - do not attempt to write the entire program top-down! HID 82615 NEte words utside bop insid bed00000 b0200000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!