Poasm hanging while processing a macro

Started by Vortex, April 11, 2025, 10:19:05 PM

Previous topic - Next topic

Vortex

Hello,

I am trying to emulate the FOR-NEXT construct of BASIC with macros. The first example ForLoop1.asm is built without any issues.

The second example ForLoop2.asm is reporting :

\PellesC\bin\poasm /AIA32 ForLoop2.asm
ForLoop.inc(23): warning: Reserved word 'jle' used as symbol name.

At this point Poasm is freezing and does not respond. Attached is the example code tested with Poasm Version 13.00.5

The ContFor macro instructs the FOR loop to jump the next iteration.

The BreakFor macro terminates the current loop.


Code it... That's all...

Vortex

Hello,

Here is the simplified example demonstrating the issue.

ForLoop.inc(30): warning: Reserved word 'jle' used as symbol name.
ForLoop.inc(51): error: Redefinition of symbol 'Next1'.
Code it... That's all...

Pelle

/Pelle

Vortex

Hi Pelle,

Many thanks, great job.The new release V13.00.11 solved the issues.
Code it... That's all...