click below
click below
Normal Size Small Size show me how
ch2
| Question | Answer |
|---|---|
| divu | divides two unsigned binary numbers |
| mul.s | multiplies two single precision floating point numbers |
| sll | moves the bits in a word to the left |
| addi | adds the value of a register to a constant |
| sw | copies data from a register to memory |
| beq | Correct match: compares two values and jumps to another instruction if the values are equal |
| mflo | accesses the result of multiplication or division stored in the LO register |
| What is the size of a MIPS register? | 32 bits |
| The most commonly used convention for representing signed binary numbers is called __________________ | two's complement |
| A single MIPS instruction can perform more than one operation. True or False? | False |
| $v0 - $v1 | used to store results of computations |
| $a0 - $a3 | used for function parameters |
| $zero | used for MOVE operation, among other things |
| $s0 - $s7 | registers corresponding to variables in high level programs |
| $t0 - $t7 | used to store intermediate results |
| In representing signed binary numbers, leading 0s mean the number is positive. True or False? | True |
| How many variables (operands) do we have in a MIPS instruction? | 3 |
| If a person is age 40ten, what is their age in hexadecimal? | 28hex |