Rodolfo Carrillo

Asembly & C

Discussion created by Rodolfo Carrillo on Oct 31, 2006
Latest reply on Nov 3, 2006 by Rodolfo Carrillo
i've been told that there some things that could go wrong when mixing asembly and C. I'm usign CW and i created a function that has 3 input parameters and no return value but the entire body is assembly. And one problem that i'm worried about is that before code generated by the compiller adds a PSH before i use any of the paraneters...My question is  . Is this the reason that my function works some of the time but runs into  trouble when call it consecutivle?... and if so is there any document that could help me on how to succesfully mix ASM & C in CodeWarrior

Outcomes