Sadashiva N

HCS08-MC9S08GB32-Floating Points

Discussion created by Sadashiva N on Sep 12, 2006
Latest reply on Sep 12, 2006 by David Payne
Dear Sir/Madam,
I am using Code worrior for 8 bit controller(MC9S08GB32),
I am new to the freescale controller.
I am facing a problen in using of floating points.
I included the IEEE32 bit while creating a Project.
But when i am debugging a program after ATD interrupt
          PTFDD = 0xFF;  //Battery 1 charging current;
          PTFD = PTFD&0xE3;
          ATD1SC=0x60; //ATD status Register,ATD interrupt is enabled,ATD0 selected;
At the time of executing chg1 statement it hangs up in floting point routine.
Please help in this regard where is the mistake.