I have been re-compiling all the libaries for sdcc into the Intel
format and cannot find a definition for puchar or _putchar although
alot of other things obviously call it. The docs don't have anything.
 

Also the assert.c routine produces the following data dcl at
the end:

__str_0:
    .ascii /Assert(%s) failed at line %u in file %s./
    .byte 0x0a
    .ascii //
    .byte 0

but loads its address above as though it were in internal memory
and not in RO space:

    mov r2,#__str_0
    mov r3,#(__str_0 >> 8)

What is happening here? I assume there should be a move to dptr?
Parameters where only --debug and -c.