 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
In
Mips/Codegen.java, line 85
|
|
|
• |
Notice how a
number of possible MOVE tiles are
|
|
tested for
|
|
|
• |
Two tiles
starting at line 175 don’t emit any
|
|
|
code yet
|
|
|
|
– |
Fill these in
|
|
|
|
• |
What
instruction do you need? Look in
SPIM manual?
|
|
|
|
• |
How will you
marshal the necessary operands?
|
|
|
|
– |
Remember
options of OPER, MOVE, LABEL – consult
|
|
|
book if you’re
unsure of the difference
|
|
|
• |
Be sure to
write a program that will make use
|
|
|
of these two
tiles – to test if you’ve got it right
|
|