Menu

#4050 SDASxxx assembler crashes! maybe?

open
nobody
None
other
5
3 hours ago
5 days ago
No

This bug are for the assembler, SDASZ80, perhaps other assemblers too...
Assembler version: sdas Assembler V05.50.4+NoICE+SDCCmods-WIP-R14 (Zilog Z80 / Hitachi HD64180 / ZX-Next / eZ80 / R800).
Installed from sdcc-20260715-16701-x64-setup.exe.
Windows10 64 bit.

I am in the process of converting some .asm files from another assembler to the SDASxxx assembler.

The .asm files contain many expressions like these:
ld a,#00001111B
ld a,#012H

It appears that the assembler crashes when it encounters these expressions; empty .lst and .rel files are generated, and the assembler simply stops without any error message.
Consequently, it takes a long time to search the .asm file for these expressions (which, of course, need to be changed to something like ld a,#0h12).

Assembler command: SDASZ80 -loap xxxx.asm

Discussion

  • Philipp Klaus Krause

    Does this also happen when using the current upstream asxxxx instead of the sdas fork in SDCC?

     
    • Jan Andersen

      Jan Andersen - 3 hours ago

      I have just tryed it with ASxxxx Assembler V06.10 (Zilog Z80 / Hitachi HD64180 / ZX-Next)
      It works with that assembler....

      Output from assembler:
      E:\test>asz80 -loap Routine.asm
      ?ASxxxx-Error-<ko> in line 14 of Routine
      <k> '14 ld a,#00001111B'
      <k> numerical conversion error
      <o> .org in REL area or directive / mnemonic error
      ?ASxxxx-Error-<o> in line 15 of Routine
      <o> '15 ld a,#012H'
      <o> .org in REL area or directive / mnemonic error</o></o></o></o></k></k></ko>

       

Log in to post a comment.