CPU12
INSTRUCTION GLOSSARY
MOTOROLA
REFERENCE MANUAL
6-7
U — Unstack 16-bit data. These cycles are extended to two bus cycles if the MCU is
operating with an 8-bit external data bus and the SP is pointing to external mem-
ory. There can be additional stretching when the address space is assigned to
a chip-select circuit programmed for slow memory. These cycles are also
stretched if they correspond to misaligned accesses to a memory that is not de-
signed for single-cycle misaligned access. The internal RAM is designed to al-
low single-cycle misaligned word access.
V — Vector fetch. Vectors are always aligned 16-bit words. These cycles are extend-
ed to two bus cycles if the MCU is operating with an 8-bit external data bus and
the program is stored in external memory. There can be additional stretching
when the address space is assigned to a chip-select circuit programmed for
slow memory.
t — 8-bit conditional read. These cycles are either data read cycles or free cycles,
depending upon the data and flow of the REVW instruction. These cycles are
only stretched when controlled by a chip-select circuit programmed for slow
memory.
T — 16-bit conditional read. These cycles are either data read cycles or free cycles,
depending upon the data and flow of the REV or REVW instruction. These cy-
cles are extended to two bus cycles if the MCU is operating with an 8-bit external
data bus and the corresponding data is stored in external memory. There can
be additional stretching when the address space is assigned to a chip-select cir-
cuit programmed for slow memory. These cycles are also stretched if they cor-
respond to misaligned accesses to a memory that is not designed for single-
cycle misaligned access.
x — 8-bit conditional write. These cycles are either data write cycles or free cycles,
depending upon the data and flow of the REV or REVW instruction. These cy-
cles are only stretched when controlled by a chip-select circuit programmed for
slow memory.
Special Notation for Branch Taken/Not Taken Cases
PPP/P — Short branches require three cycles if taken, one cycle if not taken. Since the
instruction consists of a single word containing both an opcode and an 8-bit off-
set, the not-taken case is simple — the queue advances, another program word
fetch is made, and execution continues with the next instruction. The taken case
requires that the queue be refilled so that execution can continue at a new ad-
dress. First, the effective address of the destination is determined, then the CPU
performs three program word fetches from that address.
OPPP/OPO — Long branches require four cycles if taken, three cycles if not taken. Optional cy-
cles are required because all long branches are page two opcodes, and thus
include the $18 prebyte. The CPU12 treats the prebyte as a special 1-byte in-
struction. If the prebyte is misaligned, the optional cycle is used to perform a pro-
gram word access; if the prebyte is aligned, the optional cycle is used to perform
a free cycle. As a result, both the taken and not-taken cases use one optional
cycle for the prebyte. In the not-taken case, the queue must advance so that ex-
ecution can continue with the next instruction, and another optional cycle is re-
quired to maintain the queue. The taken case requires that the queue be refilled
so that execution can continue at a new address. First, the effective address of
the destination is determined, then the CPU performs three program word fetch-
es from that address.
Summary of Contents for CPU12
Page 8: ...MOTOROLA CPU12 viii REFERENCE MANUAL ...
Page 14: ...MOTOROLA INTRODUCTION CPU12 1 4 REFERENCE MANUAL ...
Page 20: ...MOTOROLA OVERVIEW CPU12 2 6 REFERENCE MANUAL ...
Page 38: ...MOTOROLA INSTRUCTION QUEUE CPU12 4 6 REFERENCE MANUAL ...
Page 300: ...MOTOROLA DEVELOPMENT AND DEBUG SUPPORT CPU12 8 16 REFERENCE MANUAL ...
Page 338: ...MOTOROLA MEMORY EXPANSION CPU12 10 8 REFERENCE MANUAL ...
Page 364: ...MOTOROLA INSTRUCTION REFERENCE CPU12 A 26 REFERENCE MANUAL ...
Page 386: ...MOTOROLA HIGH LEVEL LANGUAGE SUPPORT CPU12 C 6 REFERENCE MANUAL ...
Page 438: ...MOTOROLA SUMMARY OF CHANGES CPU12 S 2 REFERENCE MANUAL ...
Page 439: ......