MOTOROLA
viii
CPU16
REFERENCE MANUAL
(Continued)
TABLE OF CONTENTS
SECTION 11 DIGITAL SIGNAL PROCESSING
11.1
11.2
11.3
11.4
11.5
11.5.1
11.5.2
11.6
11.7
11.7.1
11.7.1.1
11.7.1.2
11.7.1.3
11.7.1.4
11.7.2
11.7.2.1
11.7.2.2
11.7.2.3
11.7.2.4
11.7.3
11.7.3.1
11.7.3.2
11.7.3.3
11.7.3.4
11.7.3.5
11.7.4
11.7.4.1
11.7.4.2
11.7.4.3
11.7.5
11.7.5.1
11.7.5.2
11.7.6
11.7.6.1
11.7.6.2
General ....................................................................................................11-1
Digital Signal Processing Hardware ........................................................11-1
Modulo Addressing ..................................................................................11-2
MAC Data Types .....................................................................................11-2
MAC Accumulator Overflow ....................................................................11-3
Extension Bit Overflow ....................................................................11-4
Sign Bit Overflow .............................................................................11-4
Data Saturation .......................................................................................11-5
DSP Instructions ......................................................................................11-5
Initialization Instructions ..................................................................11-5
LDHI — Load Registers H and I ..............................................11-5
TDMSK — Transfer D to XMSK
TEDM — Transfer E and D to AM ...........................................11-5
TEM — Transfer E to AM ........................................................11-6
Transfer Instructions ........................................................................11-6
TMER — Transfer AM to E Rounded ......................................11-6
TMET — Transfer AM to E Truncated ....................................11-6
TMXED — Transfer AM to IX : E : D .......................................11-6
LDED/STED — Long Word Load and Store Instructions ........11-7
Multiplication and Accumulation Instructions ...................................11-7
MAC — Multiply and Accumulate ............................................11-7
RMAC — Repeating Multiply and Accumulate ........................11-7
FMULS — Signed Fractional Multiply .....................................11-8
ACED — Add E: D to AM ........................................................11-8
ACE — Add E to AM ...............................................................11-9
Bit Manipulation Instructions ...........................................................11-9
ASLM — Arithmetic Shift Left AM ...........................................11-9
ASRM — Arithmetic Shift Right AM ........................................11-9
CLRM — Clear AM .................................................................11-9
Stacking Instructions .....................................................................11-10
PSHMAC — Push MAC Registers ........................................11-10
PULMAC — Pull MAC Registers ..........................................11-10
Branch Instructions ........................................................................11-10
LBEV — Long Branch if EV Set ............................................11-10
LBMV — Long Branch if MV Set ...........................................11-11
:
YMSK ...................................11-5
APPENDIX A COMPARISON OF CPU16/M68HC11 CPU ASSEMBLY LANGUAGE
A.1
A.2
Introduction ............................................................................................... A-1
Register Models ....................................................................................... A-2
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.