News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Are there macros For- Next and If using REAL8?

Started by HSE, June 30, 2015, 01:18:42 AM

Previous topic - Next topic

Biterider

Hi HSE
I'm not able to see something obviously wrong. Can specify the line that triggers the problem. Line 254 in AnimalModelo2 doesn't exist...
Have you tried to isolate the offending line? Maybe a splitting of a long calcaulation into single steps can reduce the macro interation depth.

Regards, Biterider

HSE

Hi Biterider!

There is nothing wrong. All work perfectly. But that is true when compiling with the old ML, because JWasm have some limitation to manage the high level of macros that I'm using. If only JWasm is available, then you need to make libraries of the objects (more complex but it's a posibilty if there is no choice).

Perhaps the compilation result in error because in the first zip I have omited 2 macros.   

The question became what happens in JWasm. rrr found that the problem is not exactly the number of macro levels, but something related.

In the midtime I modify the old ForLp-Next macro for to use float numbers, not so good as the MasmBasic one, but work with ML.

Thanks. HSE 



Equations in Assembly: SmplMath

HSE

Just to note (I was forgetting to do that) that in SmplMath there are very usefull macros for .if float comparison. Surely I skip the page the first time I read the documentation, but I discover them in a second reading.

Thanks. HSE   
Equations in Assembly: SmplMath


HSE

Equations in Assembly: SmplMath