ARM Assembly: Lesson 10 (Function Calls)

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ •

  • @manawardhana
    @manawardhana Рік тому +1

    Great explanation. I didn't find any gaps. Brilliant! Thank you! 👏👏👏🙏

  • @ArjanvanVught
    @ArjanvanVught 9 місяців тому

    Thanks for all your effort! Great content!

  • @IamDejaVu
    @IamDejaVu Рік тому +4

    Such a great video! Keep it up :)

  • @0xReip
    @0xReip 9 місяців тому

    I like watching your channel so I practice my English listening and learn more about ARM as well

  • @yes395
    @yes395 Місяць тому

    great videos. thanks!

  • @MauroPanigada
    @MauroPanigada 10 місяців тому

    8:58 from the fogs of 68k assembly programming on the Amiga: it was a (sort of?) rule that the callee had to save the registers it used (except for those considered "scratch registers"), so that every subroutine usually started with movem.l d2-d7/a2-a6, -(sp) and ended with movem.l (sp)+, d2-d7/a2-a6 just before the rts (return instruction - 68k "branch/jump to subroutine" pushes the return address on the stack - pointed by a7, alias sp just to make it clear we are dealing with the stack). And if you, as the writer of the subroutine, knew that you were not going to overwrite any register (beyond d0-d1 and a0-a1), you could spare the movem instruction. I think I prefer a calling convention that forces this guarantees making the callee take care of not overwriting certain registers, rather than making the caller always worry about it.

  • @MovieVertigo
    @MovieVertigo 10 місяців тому

    Interesting to see how things have changed since the Archimedes/Risc PC era (Arm 2/3).
    I have MOV PC,R14 etched into my brain for returning from a function call 😁

  • @AbdurahmonMirobidov
    @AbdurahmonMirobidov 9 місяців тому

    thanks for this amazing content

  • @neilclay5835
    @neilclay5835 Рік тому

    Great series

    • @w0nnafight
      @w0nnafight 2 місяці тому

      arent you a bit too old to be watching this?

  • @_orangutan
    @_orangutan Рік тому +9

    The sickest of intros.

  • @shatboiiiheywaddup4232
    @shatboiiiheywaddup4232 Місяць тому

    Thanks!

  • @AEONIC_MUSIC
    @AEONIC_MUSIC Рік тому +2

    how was this intro made? its amazing

  • @aa_yu_s_h
    @aa_yu_s_h 9 місяців тому

    U are the one.

  • @ahmedmani1051
    @ahmedmani1051 Рік тому

    7:30 the vietnam flashback took me off guard

  • @biplavsingh5026
    @biplavsingh5026 Рік тому +1

    What is I flag in cpsr?🤔

  • @tear728
    @tear728 Рік тому

    Something about the frequency of your voice tickles my ears 😂👂

  • @ThiagoSTeixeir4
    @ThiagoSTeixeir4 Рік тому +4

    Present day, present time Hahahaha

  • @bikdigdaddy
    @bikdigdaddy Рік тому

    i saw u on linkedin and your content seems amazing too. hoping to learn from you. also that lain reference is epic ;)