1. Suppose we have the following 10 x 10 bitmap, which has 0x1004000 as the base address. And the address is increased in x-axis first (row major order). By storing color information (32 bits = 4 bytes) for each pixel (correspondingly address), we can have a bitmap image. 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. .text ……… ……… # $a0 = x coordinate (0-9) # $a1 = y coordinate (0-9) # returns $v0 = memory address CalcAddress: lui $t0, 0x1004 # base address ($t0 = 0x10040000) (Provide your answer in the following space to complete the procedure.) jr $ra 2. The concept of Memory Mapped IO (MMIO) is sharing address bus with I/O device as follows. 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? ...