On Tue, 16 Dec 2003 19:54:25 -0500, Dan Sugalski <[EMAIL PROTECTED]>
wrote:

>At 11:38 PM +0000 12/16/03, Pete Lomax wrote:
>>Hi,
>>I've hit a very strange problem:
>>
>>      set N18, 86
>>      save N18
>>      restore N18

Solved. I forgot I was using -O2 when executing via CreateProcessA,
which I wasn't when running at the DOS prompt.
Under -O2 the above code outputs:

        set N18, 86 
        save 86 
        restore N18 

which explains things. I'll stop using -O2 (for now).

Maybe pushing an int and popping a num should be allowed?

Pete

Reply via email to