Permalink
Browse files

CS 241: clarified factor -> ID per Piazza post #568.

  • Loading branch information...
christhomson committed Apr 5, 2013
1 parent a13baba commit 9467eb906f7a1d89beca466377331e49f398a07f
Showing with 2 additions and 0 deletions.
  1. BIN cs241.pdf
  2. +2 −0 cs241.tex
View
BIN cs241.pdf
Binary file not shown.
View
@@ -3321,6 +3321,8 @@
For example, for variable a, Code(a) = \verb+add $3, $0, $1+, and for variable b, Code(b) = \verb+add $3, $0, $2+.
\\ \\
+ This assumes our variables are stored in registers. This is only the case for now, and only for \verb+wain+'s parameters. Later, once we start storing all variables on the stack, we'll need to perform a \verb+lw+ to fetch the data from the stack, placing the result in \$3.
+ \\ \\
So, the object code equivalent to the WLPP program above is:
\begin{verbatim}
lis $4

0 comments on commit 9467eb9

Please sign in to comment.