AnsweredAssumed Answered

How to copy function from flash to ram and run it from ram MCF51QE

Question asked by florijan japelj on Aug 18, 2009
Latest reply on Aug 18, 2009 by florijan japelj



I am using MCF51QE mcu.

Can someone please tell me what is the simplest way to copy a function from flash to RAM and execute it there. For example I have a function:


long multiply(int a,int b){

   return a*b;