Miro Kropacek wrote:
AHCC widens a char parameter to its 16 bit equivalent before pushing.Hmm if AHCC does something like ext.w d0; move.w d0,-(sp) it breaks PureC ABI, doesn't it? I've just checked it, move.b d0,-(sp) stores char value and then reserve empty space, not vice versa.
'ABI' is too loud a statement for such things. I didnt even know Pure C behaves like this until this thread. How does GCC behave? -- Groeten; Regards. Henk Robbers. http://members.chello.nl/h.robbers Interactive disassembler: TT-Digger; http://digger.atari.org A Home Cooked C compiler: AHCC; http://ahcc.atari.org