On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar wrote:
Hi,
[...]
The assembly code uses static allocation of registers, but because of the differences in how registers are used in Win64 versus Unix X64 - different registers are assigned depending on the architecture. dynasm makes this easy to do using macros; e.g. below.
[...]
With above in place, the code can use the mnemonics to refer to the registers rather than the registers themselves. This allows the assembly code to be coded once for both architectures.

I see...the problem is not the input parameters but functions calls **inside** iasm, right ?

Reply via email to