"james mcallister" <cs61...@imail.EECS.Berkeley.EDU> wrote in message
news:g80889$26q7$1...@agate.berkeley.edu...
>
> The solution for this exam has the type for foo as char*, and part c
> implies
> that this should be the case; however, I thought that values returned from
> a
> function call should be passed in the $v[0|1] registers (per register
> conventions).
>
> Where is the return value (char*) coming from?
>
> Also note, first line of foo_end should be $t0 (dest) rather than $t1
> (src).
I think you're right - I can't see how that would work.