Mark Butcher

Coldfire: Parameter passing

Discussion created by Mark Butcher on Dec 3, 2006
Latest reply on Dec 5, 2006 by CrasyCat

Hi All

 

I would like to know more about the parameter passing method (Standard / Compact / Register) in the ColdFire processor setup (CW 6.3).

 

Using compact a reference code is 59k in size.
Using Register it is about 53k in size.

 

However the code doesn't run reliably when register passing is activated. (Eg. FTP server becomes unreliable - transfers often hang, which never happens with compact].

 

Any ideas what could make a program less reliable? Where can the user of register passing possibly cause problems?

 

Best regards

 

Mark Butcher
www.mjbc.ch / www.uTasker.com

Message Edited by CrasyCat on 2007-04-13 11:33 AM

Outcomes