Examples
xxxi
Contents
Examples
4–1
5–1
5–2
5–3
5–4
5–5
5–6
5–7
5–8
5–9
5–10
5–11
5–12
5–13
5–14
5–15
5–16
6–1
6–2
6–3
6–4
6–5
6–6
6–7
6–8
6–9
6–10
6–11
6–12
6–13
6–14
6–15
6–16
6–17
6–18
6–19
Enabling the Cache
Positive Number
Negative Number
Fractional Number
IEEE to ’C4x Conversion Within Block Memory Transfer
’C4x to IEEE Conversion Within Block Memory Transfer
Floating-Point Multiply (Both Mantissas = –2.0)
Floating-Point Multiply (Both Mantissas = 1.5)
Floating-Point Multiply (Both Mantissas = 1.0)
Floating-Point Multiply Between Positive and Negative Numbers
Floating-Point Addition
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Floating-Point Subtraction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Floating-Point Addition With a 32-Bit Shift
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Floating-Point Addition/Subtraction and Zero
NORM Instruction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Newton-Raphson Algorithm for Computing the Reciprocal
Newton-Raphson Algorithm for Computing the Reciprocal Square Root
Direct Addressing
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Auxiliary Register Indirect
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Predisplacement Add
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Predisplacement Subtract
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Predisplacement Add and Modify
Indirect With Predisplacement Subtract and Modify
Indirect With Postdisplacement Add and Modify
Indirect With Postdisplacement Subtract and Modify
Indirect With Postdisplacement Add and Circular Modify
Indirect With Postdisplacement Subtract and Circular Modify
Indirect With Preindex Add
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Preindex Subtract
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Preindex Add and Modify
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Preindex Subtract and Modify
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Postindex Add and Modify
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Indirect With Postindex Subtract and Modify
Indirect With Postindex Add and Circular Modify
Indirect With Postindex Subtract and Circular Modify
Indirect With Postindex Add and Bit-Reversed Modify
4-13
5-9
5-10
5-10
5-16
5-18
5-21
5-21
5-22
5-22
5-25
5-25
5-26
5-26
5-28
5-35
5-38
6-5
6-9
6-9
6-10
6-10
6-11
6-11
6-12
6-12
6-13
6-13
6-14
6-14
6-15
6-15
6-16
6-16
6-17
6-17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .