
CPU16
REFERENCE MANUAL
INSTRUCTION SET
MOTOROLA
5-1
SECTION 5 INSTRUCTION SET
This section contains general information about the instruction set. It is organized into
instruction summaries grouped by function. If an instruction has a special purpose,
such as aiding indexed operations, it appears in the summary for that function, rather
than in a general summary. An instruction that is used for more than one purpose ap-
pears in more than one summary.
SECTION 6 INSTRUCTION GLOSSARY
contains
detailed information about individual instructions.
5.1 General
The instruction set is based upon that of the M68HC11, but the opcode map has been
rearranged to maximize performance with a 16-bit data bus. Most M68HC11 instruc-
tions are supported by the CPU16, although they may be executed differently. Much
M68HC11 code will run on the CPU16 following reassembly. The user must take into
account changed instruction times, the interrupt mask, and the new interrupt stack
frame. See
5.13 Comparison of CPU16 and M68HC11 Instruction Sets
for more in-
formation.
The CPU16 has a full range of 16-bit arithmetic and logic instructions, including signed
and unsigned multiplication and division. A number of instructions support extended
addressing and expanded memory space. In addition, there are special instructions
related to digital signal processing.
5.2 Data Movement Instructions
The CPU16 has a complete set of 8- and 16-bit data movement instructions, as well
as instructions to support 32-bit intermodule bus (IMB) operations. General-purpose
load, store, transfer and move instructions facilitate movement of data to and from
memory and peripherals. Special purpose instructions enhance indexing, extended
addressing, stacking, and digital signal processing.
5.2.1 Load Instructions
Load instructions copy memory content into an accumulator or register. Memory con-
tent is not changed by the operation.
There are specialized load instructions for stacking, indexing, extended addressing,
and digital signal processing. Refer to the appropriate summary for more information.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.