C to MIPS Procedures and the Stack

  Рет қаралды 42,243

Gedare Bloom

Gedare Bloom

Күн бұрын

Пікірлер: 10
@anuragpatel9580
@anuragpatel9580 3 жыл бұрын
In love with this teaching
@julians7785
@julians7785 Жыл бұрын
thank you for the great content/clear explanation!
@repenttoreflect8933
@repenttoreflect8933 4 жыл бұрын
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.
@SuperNova-gc7tm
@SuperNova-gc7tm 4 жыл бұрын
thanks for the concise and clear explanation!
@repenttoreflect8933
@repenttoreflect8933 4 жыл бұрын
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
@dineshdurgam4602
@dineshdurgam4602 2 жыл бұрын
can someone explain why addi $sp $sp 8 is two times? this is confusing me
@andrerodriguez4998
@andrerodriguez4998 Жыл бұрын
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.
@roxaf6696
@roxaf6696 3 ай бұрын
i dont know who told u reading a script in tutoring is a good idea, but dont listen to them again
@classmate3146
@classmate3146 5 жыл бұрын
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
@SuperNova-gc7tm
@SuperNova-gc7tm 4 жыл бұрын
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.
C to MIPS - Introduction to Memory
20:19
Gedare Bloom
Рет қаралды 65 М.
CST 337 MIPS non-leaf procedure call using stack
15:50
Eric Tao
Рет қаралды 17 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,4 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 12 МЛН
Ep 081: Introduction to the Stack Pointer
16:09
Intermation
Рет қаралды 47 М.
The Flaws of Inheritance
10:01
CodeAesthetic
Рет қаралды 909 М.
ISA 2.9 MIPS: Saving and restoring registers to the stack
7:59
David Black-Schaffer
Рет қаралды 91 М.
Pointers in RISC-V Assembly
19:42
LaurieWired
Рет қаралды 14 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 154 М.
Stack vs Heap Memory - Simple Explanation
5:28
Alex Hyett
Рет қаралды 203 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Ditch your Favorite Programming Paradigm
6:08
Code Persist
Рет қаралды 171 М.
MIPS Tutorial 17   Saving Registers to the Stack
13:50
Amell Peralta
Рет қаралды 149 М.
ISA 2.7 MIPS: Procedures and jal
5:18
David Black-Schaffer
Рет қаралды 61 М.