MIPS and computer architecture
These questions deal with computer architecture and MIPS assembly code. Knowledge of bitmaps and MMIO is required. See attached document for questions.
1.a. Provide the address of (9,0) and the address of (0,9) in this bitmap. YOU NEED TO PROVIDE YOUR EQUATION FOR FULL SCORE.
Address of (9,0):
Address of (0,9):
1.b. MIPS assembly language. Complete the following procedure “CalcAddress” which takes x and y coordinates as inputs and provides memory address for 10 x 10 bitmap. (The inputs are given outside of “CalcAddress” procedure. You don’t need to provide any codes for getting x, y coordinate inside of this function.) The base address is 0x10040000.
# $a0 = x coordinate (0-9)
# $a1 = y coordinate (0-9)
# returns $v0 = memory address
lui $t0, 0x1004 # base address ($t0 = 0x10040000)
(Provide your answer in the following space to complete the procedure.)
So, for example, if the buffer in the controller for bitmap display has 0x00FF0000, red color is shown in the bitmap display by the controller. If the buffer has 0x0000FF00, then green color is displayed by the controller in the bitmap display, and so forth.
By using the Memory mapped I/O architecture, suppose we connect the 3-word main memory and the buffer as follows.
Under this connection, the addresses for each memory space or the buffer are given in the aforementioned figure.
If we want to change the address for the bitmap display from 0x000C to 0x0000,
what do we need to do?
Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?
Whichever your reason may is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.
Our essay writers are graduates with diplomas, bachelor, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college diploma. When assigning your order, we match the paper subject with the area of specialization of the writer.
PLACE THIS ORDER OR A SIMILAR ORDER WITH USA ELITE WRITERS TODAY AND GET AN AMAZING DISCOUNT