NO

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

Online Vortex

  • Member
  • *
  • Posts: 862
    • 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...

Online Vortex

  • Member
  • *
  • Posts: 862
    • 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: 2266
    • 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

Online Vortex

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

Offline Pelle

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

Online Vortex

  • Member
  • *
  • Posts: 862
    • http://www.vortex.masmcode.com
Re: @CatStr reporting POASM: fatal error: Internal error ('
« Reply #5 on: May 07, 2023, 07:41:13 PM »
Hi Pelle,

Thanks for the new Version Version 12.00.1. This update solved the issue.
Code it... That's all...

Offline Pelle

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