go to previous page   go to home page   go to next page

lbu $t0,string

Answer:

It loads one byte (located at string) into the low order byte of register $t0. The other bytes are filled with zero.

Outline

Here is the outline of the program. The comments are for the major sections of the program.

        .text
        .globl  main
main:  
        # 

        # 

        # 

        # 

        .data
str:    .space  128     # character buffer            

Not much of an outline. Luckily, here are some phrases you can use to fill in the blanks:

QUESTION 11:

Fill the blanks with the correct phrases. (You can do this by using your mouse with copy and paste from the Edit menu of the browser.)