Helmut Karlowski wrote:
Am 31.01.2010, 23:44 Uhr, schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:If I'm not wrong this is a difference between the 680x0 family and ColdFire family.All 680x0 models should behave the same way on move.b xx,-(sp) This could be easily checked on real hardware.And if Coldfire really does this then gcc and any other compiler should not use this instruction. I hope it's done this way already.
AHCC widens a char parameter to its 16 bit equivalent before pushing. I consider the way Pure C behaves as a bug (or at least a mistake). -- 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