ROM
A memory is nothing but a bank of registers: given an address input, the memory retrieves the content of the register with that index as output. Remember that a non-writable memory is a good model for the processor's instruction memory.
The memory in this circuit contains the program:
<LABEL>-
lw a1 0(t2) -
add a2 a1 a1 -
sw a1 0(t2) -
bgtz sp <LABEL>