Download 68kPM
Transcript
Floating Point Instructions FCOS FCOS Cosine (MC6888X, M68040FPSP) Operation: Cosine of Source → FPn Assembler Syntax: FCOS. < fmt > < ea > ,FPn FCOS.X FPm,FPn FCOS.X FPn Attributes: Format = (Byte, Word, Long, Single, Double, Extended, Packed) Description: Converts the source operand to extended precision (if necessary) and calculates the cosine of that number. Stores the result in the destination floating-point data register. This function is not defined for source operands of ± infinity. If the source operand is not in the range of [ – 2π... + 2π], then the argument is reduced to within that range before the cosine is calculated. However, large arguments may lose accuracy during reduction, and very large arguments (greater than approximately 1020) lose all accuracy. The result is in the range of [ – 1... + 1]. Operation Table: DESTINATION Result + In Range Cosine – + SOURCE1 Zero – + + 1.0 Infinity – NAN2 NOTES: 1. If the source operand is a NAN, refer to 1.6.5 Not-A-Numbers for more information. 2. Sets the OPERR bit in the floating-point status register exception byte. 5-28 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
Related documents
Smart Technologies DT770 User's Manual
M68060 User`s Manual
MOVE
M68040 User's Manual µ MOTOROLA
DSP56300 Family Manual - Freescale Semiconductor
ColdFire Family Programmer`s Reference Manual
MC68030UM-P2 - Freescale Semiconductor
HiSoft Devpac 3 (text version) [1992] [Manual: PDF]
DSP56300 FAMILY MANUAL
Floating Point Engine (FPE) Owner`s Manual
FffiffE - Chinavasion
USER`S MANUAL XTC Transmitters Series 340 Pressure