The number 0b0111 1001 1111 0110 in hexadecimal.
What is 0x79F6?
The loop in MIPS assembly:
while (A & (!B))
beq A, false, exit
bne B, false, exit
body:
beq A, false, exit
beq B, false, body
exit:
The amount of actual memory each address increments by in MIPS.
What is one byte?
The hidden benefit of 2's complement.
What is simple subtraction.
The purpose of hexadecimal.
What is brevity?
The if, else structure in MIPS assembly:
if (A)
else if(B)
else
beq A, false, middle
<first if block>
j exit
middle: beq B, false, else
<second if block>
j exit
else:
<else block>
exit:
The instruction used to retreive the 6th element in an array of half words, given the base array pointer. The array starts with the 0th element.
What is:
lh $t0, 12($s0)
?
Describe how you use registers in the register file.
...
The decimal sum of the two signed binary numbers 0b0011 0001 and 0b10 1100 1110.
What is -257?
The number of branching statements required for the loop:
do
{
} while (A ^ B ^ C)
What is 7?
The declaration for an array of char pointers, 16 elements, all initialized to 0x0000 0000.
What is:
arr: .word 0:16
?
Describe how you would implement a switch case statement in MIPS assembly.
...