Important: The information in this document is obsolete and should not be used for new development.
Chapter 13 - Assembly-Language Numeric Conversions
This chapter describes how you can use PowerPC assembly-language instructions to perform the conversions required by the IEEE standard (described in Chapter 5, "Conversions"). The assembler provides instructions that perform many of these conversions. The conversion instructions have two operands, both of which are floating-point registers. They are of the forminstr DST
,
SRCand are interpreted as
DST \xC6 op SRC
where SRC and DST are floating-point registers and op is some operation.
For each type of conversion, this chapter lists the assembly-language instructions you can use to perform that conversion and gives an example of how to use the instructions.
Chapter Contents
- Conversions From Integer to Floating-Point Formats
- Conversions From Floating-Point to Integer Formats
- Conversions From Single to Double Format
- Conversions From Double to Single Format