Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Found Bug in AN974 MC68HC11 Floating Point Package

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Found Bug in AN974 MC68HC11 Floating Point Package - ga5941 - May 14 13:06:52 2009

FLTSIN subroutine did not work correctly for an input of 215 degrees. The bug is fixed by replacing:

LDX three60

by:

LDX #three60

in the ANGRED routine several pages later.

The author's notes recommend not using the compare routine FLTCMP but instead use the FPACCCMP routine, but did not follow up and still used FLTCMP throughout. I replaced FLTCMP by FPACCCMP throughout the floating point package.

I use the floating point routines extensively in programming a MC9S12DP512 processor.

------------------------------------



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )