flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ProMiNick 18 May 2018, 23:42
call is more flexible, because invoke & cinvoke are abstraction macros around of it.
In case of call you can make with call arguments things unacessible in other cases: such as early pushing parameters, or reusing some of parameters left in stack from previous call, and one more - invoke & cinvoke - indirect call, call itself can be direct & indirect. |
|||
![]() |
|
revolution 19 May 2018, 00:45
|
|||
![]() |
|
Mino 19 May 2018, 09:36
Thanks, I understand much better
![]() Because between printf and foo, only the name changes... |
|||
![]() |
|
revolution 19 May 2018, 10:07
The only instruction there is call. All the others are macros.
Normally an HLL compiler will only generate native instructions, so probably you will only want to use call and implement the calling convention using native push/mov/pop/add etc. |
|||
![]() |
|
Mino 19 May 2018, 10:45
Okay, thanks a lot
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.