NO

Author Topic: @CatStr reporting POASM: fatal error: Internal error ('  (Read 307 times)

Offline Vortex

  • Member
  • *
  • Posts: 531
    • http://www.vortex.masmcode.com
@CatStr reporting POASM: fatal error: Internal error ('
« 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.
« Last Edit: November 01, 2020, 09:13:55 pm by Vortex »
Code it... That's all...

Offline Vortex

  • Member
  • *
  • Posts: 531
    • http://www.vortex.masmcode.com
Re: @CatStr reporting POASM: fatal error: Internal error ('
« Reply #1 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,<">)
Code it... That's all...

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2084
    • http://www.smorgasbordet.com
Re: @CatStr reporting POASM: fatal error: Internal error ('
« Reply #2 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...
/Pelle