Menu

#3763 Crash sdar8051

open
nobody
None
MCS51
5
2024-07-20
2024-07-20
No

sdar8051 crashes on line containing syntax error.

            CJNE    R7,#8H,L1
            CJNE    R7,#08,L1
$ sdcc -v
SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/r800/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502/mos65c02 TD- 4.4.0 #14620 (MINGW64)
3 Attachments

Discussion

  • Janko Stamenović

    It seems the same as [#3744] and the same way to avoid it, i.e. with that build I've given there it doesn't crash:

    C:\tmp\0\3>compile.bat
    
    C:\tmp\0\3>sdcc -v
    SDCC : z80/ez80_z80/z80n TD- 4.4.1 #14899 (MINGW64)
    published under GNU General Public License (GPL)
    
    C:\tmp\0\3>sdas8051 main.s
    main.s:1: Error: <q> Expected a ','.
    main.s:2: Error: <u> undefined symbol encountered during assembly
    removing
    
    C:\tmp\0\3>pause
    Press any key to continue . . .
    

    Also note: sdas not sdar

     

    Related

    Bugs: #3744


    Last edit: Maarten Brock 2024-07-23
  • Dmitry Kharitonov

    Unfortunately, until you publish version 4.4.1, I have to use version 4.4.0 . I admit that in the latest version many things have already been fixed... Sorry for the inconvenience.

     
    • Janko Stamenović

      The binary in the official snapshot still crashes, and the binary I've used as a workaround is my "user" build. The problem still exists in the official build environment, but this is still a clear duplicate of the previously reported bug 3744.

       

Log in to post a comment.