Pelles C forum

Pelles C => Bug reports => Topic started by: Vortex on November 01, 2020, 09:12:19 PM

Title: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Vortex on November 01, 2020, 09:12:19 PM
Hello,

In the code portion ( Poasm ) below, The CATSTR macro works as expected :

Code: [Select]
        stackval SUBSTR strrev,1,remainder

        temp CATSTR <">,stackval,<">

        push temp

Using the @CatStr macro to push "stackval" , I get the following error message :

Code: [Select]
        push @CatStr(<">,stackval,<">)
Code: [Select]
POASM: fatal error: Internal error (').
Is it possible to use @CatStr instead of CATSTR in my case?

Error reported by Pelles Macro Assembler, Version 10.00.0

Attached is an example project to reproduce the error.
Title: Re: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Vortex on November 12, 2020, 06:54:27 AM
Hello,

Pelles Macro Assembler Version 6.50.0 does not report any error message after the expression :

Code: [Select]
push @CatStr(<">,stackval,<">)
Title: Re: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Pelle on November 15, 2020, 08:38:43 PM
I can reproduce the problem. Not sure what it is, so I have no workaround for the moment. I will look at it...
Title: Re: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Vortex on May 06, 2023, 10:56:18 PM
Hi Pelle,

Poasm V12 reports the following error message :

Code: [Select]
StrToStackDemo.asm(31): fatal error: Invalid use of '"'.
No any problem with Poasm V11.

Tested withed attachment above , StringToStack1b.zip
Title: Re: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Pelle on May 07, 2023, 03:07:12 PM
I think this is also fixed by the following version:
http://www.smorgasbordet.com/pellesc/1200/poasm_12_00_1.zip
Title: Re: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Vortex on May 07, 2023, 07:41:13 PM
Hi Pelle,

Thanks for the new Version Version 12.00.1. This update solved the issue.
Title: Re: @CatStr reporting POASM: fatal error: Internal error ('
Post by: Pelle on May 07, 2023, 09:14:42 PM
( I think I'm having a déjà vu... )

Great news, thanks. This version of POASM will be in the next Setup (either final or RC3, depending on events...)