This is so great. Dear Professor I never understand it in class until after I watched this video. This is indeed useful and thank you for great explanation. Please next time try to use arrows or mouse pointer to indicate which and where you're explaining, just for better understanding. Once again a big thank you.
In case you still need the answer, as far as I understood, beq is a similar instruction compared to jal (the are jump instructions one conditional and the other unconditional). The difference is that when you use jal you are changing the $ra register and in beq not. The addi sp sp 8 in green it is just executed one time and the other one it is executed 3 times. The addi sp sp -8 is executed 4 times.
Sir it is not good way of teaching, we can read it form book ourselves, so there is no need to listen to your reading. plz work on the board step by step. thanks
he explained it very clearly and I happened to need a short explanation. You might like to read a whole book but for many it's very helpful to get a shortcut to get into this topic. Please have more respect for people who have different lives and interests ... not everyone is learning or acquiring information the way you want or need it.
q = foo(r, s); int foo (int n, int m) { int q; q = 2*n - m; if (q > m) return n; else return m; } How can I translate this from c to mips. Help out please
Awesome video brother!
This is so great. Dear Professor I never understand it in class until after I watched this video. This is indeed useful and thank you for great explanation. Please next time try to use arrows or mouse pointer to indicate which and where you're explaining, just for better understanding. Once again a big thank you.
In love with this teaching
thank you for the great content/clear explanation!
thanks for the concise and clear explanation!
can someone explain why addi $sp $sp 8 is two times? this is confusing me
In case you still need the answer, as far as I understood, beq is a similar instruction compared to jal (the are jump instructions one conditional and the other unconditional). The difference is that when you use jal you are changing the $ra register and in beq not. The addi sp sp 8 in green it is just executed one time and the other one it is executed 3 times. The addi sp sp -8 is executed 4 times.
Sir it is not good way of teaching, we can read it form book ourselves, so there is no need to listen to your reading. plz work on the board step by step. thanks
he explained it very clearly and I happened to need a short explanation.
You might like to read a whole book but for many it's very helpful to get a shortcut to get into this topic.
Please have more respect for people who have different lives and interests ... not everyone is learning or acquiring information the way you want or need it.
i dont know who told u reading a script in tutoring is a good idea, but dont listen to them again
q = foo(r, s);
int foo (int n, int m) {
int q;
q = 2*n - m;
if (q > m)
return n;
else
return m;
}
How can I translate this from c to mips. Help out please
rip 💐