MOTOROLA
iv
CPU16
REFERENCE MANUAL
(Continued)
TABLE OF CONTENTS
3.5.1.3
3.5.2
3.5.3
3.5.4
3.5.5
3.5.5.1
3.5.5.2
3.5.5.3
Read/Write Signal ...................................................................3-10
Address Bus ....................................................................................3-10
Data Bus ..........................................................................................3-10
Bus Cycle Termination Signals .......................................................3-10
Data Transfer Mechanism ...............................................................3-11
Dynamic Bus Sizing ................................................................3-11
Operand Alignment .................................................................3-12
Misaligned Operands ..............................................................3-13
SECTION 4 DATA TYPES AND ADDRESSING MODES
4.1
4.2
4.3
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.3.8
Data Types ................................................................................................4-1
Memory Organization ................................................................................4-2
Addressing Modes .....................................................................................4-3
Immediate Addressing Modes ...........................................................4-4
Extended Addressing Modes ............................................................4-5
Indexed Addressing Modes ...............................................................4-5
Inherent Addressing Mode ................................................................4-5
Accumulator Offset Addressing Mode ...............................................4-5
Relative Addressing Modes ...............................................................4-5
Post-Modified Index Addressing Mode ..............................................4-5
Use of CPU16 Indexed Mode to Replace M68HC11 Direct Mode ....4-6
SECTION 5 INSTRUCTION SET
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.3
5.3.1
5.3.2
5.3.3
5.3.4
5.3.5
5.3.6
5.3.7
5.4
5.5
General ......................................................................................................5-1
Data Movement Instructions ......................................................................5-1
Load Instructions ...............................................................................5-1
Move Instructions ..............................................................................5-2
Store Instructions ..............................................................................5-2
Transfer Instructions ..........................................................................5-2
Exchange Instructions .......................................................................5-3
Mathematic Instructions ............................................................................5-3
Addition and Subtraction Instructions ................................................5-3
Binary Coded Decimal Instructions ...................................................5-5
Compare and Test Instructions .........................................................5-5
Multiplication and Division Instructions ..............................................5-6
Decrement and Increment Instructions .............................................5-7
Clear, Complement, and Negate Instructions ...................................5-7
Boolean Logic Instructions ................................................................5-8
Bit Test and Manipulation Instructions ......................................................5-8
Shift and Rotate Instructions .....................................................................5-8
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.