Sdcc will compile to asxxxx,  it supports different assemblers through some
tables. I think sdcc is more ansi compliant than small-c? Anyway I don't
know that I'll finish it or that it will be working any time soon. But it
is something to do when taking brain breaks.

Funny you mention desp, I just had to port some z80 code that benefited
from it. It is for accessing stack variables I guess.

Also you can

lxi h, #offset
dad sp

To do similar thing with hl

-- John.

Reply via email to