News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

St0ToStr error

Started by a1sbofo, January 06, 2023, 03:04:19 AM

Previous topic - Next topic

a1sbofo

I think an instruction is missing at the end of

C:\ObjAsm\Code\ObjMem\Common\St0ToStr_AXP.inc.

In case of an error, the proc: St0ToStrA does not return correctly. A 'ret' instruction is missing.

Thanks for version C.2 of ObjAsm ("Christmas release")

HSE

 :thumbsup:

:biggrin: Too lazy to search the problem, a couple of days ago I maked:    DbgFloatCheck macro var1
        .if r8IsValid (&var1)
            DbgFloat &var1
        .else
            DbgText "not valid"   
        .endif
    endm
Equations in Assembly: SmplMath

Biterider

Thanks a1sbofo  :thumbsup:
Please just add the "ret" instruction and recompile the library using:
\ObjAsm\Code\ObjMem\MakeObjMem3264.cmd.

Alternatively, you can download the new library from GitHub.
https://github.com/ObjAsm/ObjAsm-C.2/blob/master/Code/Lib/32/ObjAsm/ObjMem32.lib
https://github.com/ObjAsm/ObjAsm-C.2/blob/master/Code/Lib/64/ObjAsm/ObjMem64.lib
https://github.com/ObjAsm/ObjAsm-C.2/blob/master/Code/ObjMem/Common/St0ToStr_AXP.inc

QuoteThanks for version C.2 of ObjAsm ("Christmas release")
You are welcome!  :biggrin:

Biterider

a1sbofo

Hello
Instruction "ret" added. All is ok - Thanks

HSE

Equations in Assembly: SmplMath