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

if I run this from a DOS prompt, it works fine, however if I run it
via the kernel32.dll function CreateProcessA, the restore N18 line
fails with "Wrong type on top of stack!".

If I change the first line to set N18, 86.0 then it works fine.

Is that something I should be doing, appending a '.0' when setting an
N reg with a literal integer value?

Try doing an "nmake disassemble", assemble that fragment to bytecode, and then disassemble it to see what the assembler's generating. Something odd might be going on there.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to