[M3devel] 64bit INTEGERs, WIDECHAR: language specified or configuration/target dependent?

Jay K jay.krell at cornell.edu
Sat May 30 23:55:06 CEST 2015


 > No way to push or pop half of a word. 

 
sub esp, 2
 
 
But nobody does that.
 
Parameters may generally fill whole words, but I doubt locals do.
 
 - Jay


 
> Date: Sat, 30 May 2015 18:51:12 +0200
> From: estellnb at elstel.org
> To: rodney.m.bates at acm.org; m3devel at elegosoft.com
> Subject: Re: [M3devel] 64bit INTEGERs, WIDECHAR: language specified or configuration/target dependent?
> 
> 
> > 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.
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150530/b0bf5d19/attachment-0002.html>


More information about the M3devel mailing list