simple C to MIPS convertion

I'm having some trouble understanding MIPS

it should be simple

assuming i,j,k,f are stored in registers $s0, $s1, $s2, $s3

f= i-j-k

and why


also if someone could show me what SLL $s0, $s1, 2 should be in hexadecimal, I'd be grateful
I have an answer for it but I don't think it's right
Topic archived. No new replies allowed.