[M3devel] 64bit INTEGERs, WIDECHAR: language specified or configuration/target dependent?
Elmar Stellnberger
estellnb at elstel.org
Sat May 30 18:51:12 CEST 2015
> Well, maybe not stack variables, if the stack has a bigger alignment
> to be honored,
> quite possibly a hardware requirement. No doubt taking and using the
> address of
> such would be endian-dependent. Would a C compiler do differently in
> this case?
> Can you rely on them all doing it the same? Does C specify it?
No, as far as I know C can provide multiple calling conventions.
However any x86 based system has a word size aligned stack.
No way to push or pop half of a word. That way we are at least save
for any x86 Intel/AMD - system.
More information about the M3devel
mailing list