There's a lot of concepts covered here: stack, SP, activation record, local vars, parameters passing, pointers, return address.
Motorola 68K has 8 bytes in between local vars and parameters. 4 bytes for the saved PC, and 4 for saving the old value of A6 which is a local stack pointer. LINK creates the space on the stack and initialises A6 to point to it. You access local vars and parameters through A6, and SP is used for dynamically allocating stuff on the stack.
Does anyone else find Professor Cain's little "gulp" noises to be hilarious? Once I noticed them I can't stop noticing them. There's a great one just after 3:00 - he does them in all the videos.
This has been flagged as spam show
A man to depend to. Programming wise.
grunder20 1 month ago
This has been flagged as spam show
Cain is the God of Programming!
grunder20 2 months ago
thanks
at 21:25
a line is messing
sp = sp + 8;
sp = sp + 4; <==== this line to deallocate i space
RV = 0;
RET;
algnadjib 3 months ago
Comment removed
algnadjib 3 months ago
This has been flagged as spam show
Is that for the undergraduate students ?
Ferqan1 8 months ago
Is that for the undergraduate students ?
Ferqan1 8 months ago
learn together.my twitter ID:caiyuhui. follow me plz
ramoncyh 11 months ago
snink snink!
alice1cmd 1 year ago
There's a lot of concepts covered here: stack, SP, activation record, local vars, parameters passing, pointers, return address.
Motorola 68K has 8 bytes in between local vars and parameters. 4 bytes for the saved PC, and 4 for saving the old value of A6 which is a local stack pointer. LINK creates the space on the stack and initialises A6 to point to it. You access local vars and parameters through A6, and SP is used for dynamically allocating stuff on the stack.
rbscholtus 1 year ago
Does anyone else find Professor Cain's little "gulp" noises to be hilarious? Once I noticed them I can't stop noticing them. There's a great one just after 3:00 - he does them in all the videos.
DisgustingArsehole 1 year ago 2
@DisgustingArsehole haha
alice1cmd 1 year ago
Any way to watch this on 1.5x speed? I find it easier to follow televised lectures if they're sped up.
finnicky 2 years ago
download it first, then you can speed up your player. I also found it easier to watch at 1.5
leodavinci69 2 years ago
Makes sense!
ice3715 2 years ago 8
More curious students will want to also read 'Smashing the Stack for Fun and Profit' by Aleph One. ; )
moeibrahim1 2 years ago 3
@moeibrahim1 thx will read
alice1cmd 1 year ago
who is the best, Jerry Caln is the best
abeesk 2 years ago 13
i don't think so
hakerus123 2 years ago