Hello,
 
Please fix Z80 code generation bug, I've looked in ver 2.8.0 and in fresh SDCC snapshot too.
I'm developing a game for ZX Spectrum, and all the code of game can be downloaded here: http://stefcr.mgslab.com/files/ZxSpec.zip
 
> Attach the code you are compiling with SDCC.
I did it, but I cannot send e-mail with ZIP archive.
Please, look in ZxSpec.zip.
 
> Specify the exact command you use to run SDCC, or attach your Makefile.
Please, look the file Labirint.bat
 
> Specify the SDCC version
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.8.3 #5208 (Aug 10 2008) (MINGW32)
 
> Provide an exact copy of any error message or incorrect output.
For easy make the error, run !BuildAll.bat
 
Labirint.asm:1883: Error: <q> missing or improper operators, terminators,
imiters
Labirint.asm:1889: Error: <q> missing or improper operators, terminators,
imiters
 
Look to generated Labirint.asm (lines 1883, 1889) :
 
;Labirint.c:419: Labirint_manX = Labirint_manX + Labirint_manDirX;
    ld    hl,#_Labirint_manDirX
    ld    iy,#_Labirint_manX
    ld    a,!*iyx ; <----------- ASSEMBLER DOES NOT WANT TO ASSEMBLE IT
    add    a,(hl)
    ld    0 (iy),a
;Labirint.c:420: Labirint_manY = Labirint_manY + Labirint_manDirY;
    ld    hl,#_Labirint_manDirY
    ld    iy,#_Labirint_manY
    ld    a,!*iyx ; <----------- ASSEMBLER DOES NOT WANT TO ASSEMBLE IT
    add    a,(hl)
    ld    0 (iy),a
    jr    00105$
 
Thank you for your attention. Please, email me it, if you can.
 
Your
Oleg N. Cher.