T
Theo R.
Hi all,
Does the C99 Standard explicitly mention the need for a stack for
passing arguments or Is this platform specific?
As an example, the ARM9 processor recommends Core Registers R0-R3 be
used when passing less than four parameters. However some compilers
for ARM9 do not follow this recommendation and place all parameters on
the stack. Therefore, the question arises if the compilers were
following the C Standard instead.
I remember that order of evaludation is right to left. Is this part of
the standard or is it an implementation detail?
Thanks,
Theo.
Does the C99 Standard explicitly mention the need for a stack for
passing arguments or Is this platform specific?
As an example, the ARM9 processor recommends Core Registers R0-R3 be
used when passing less than four parameters. However some compilers
for ARM9 do not follow this recommendation and place all parameters on
the stack. Therefore, the question arises if the compilers were
following the C Standard instead.
I remember that order of evaludation is right to left. Is this part of
the standard or is it an implementation detail?
Thanks,
Theo.