mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 135

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
5.5.3 Operand Alignment
5.5.4 Misaligned Operands
5.5.5 Operand Transfer Cases
MC68HC16Y3/916Y3
USER’S MANUAL
The EBI data multiplexer establishes the necessary connections for different combi-
nations of address and data sizes. The multiplexer takes the two bytes of the 16-bit
bus and routes them to their required positions. Positioning of bytes is determined by
the size and address outputs. SIZ1 and SIZ0 indicate the number of bytes remaining
to be transferred during the current bus cycle. The number of bytes transferred is equal
to or less than the size indicated by SIZ1 and SIZ0, depending on port width.
ADDR0 also affects the operation of the data multiplexer. During a bus transfer, AD-
DR[23:1] indicate the word base address of the portion of the operand to be accessed,
and ADDR0 indicates the byte offset from the base.
The CPU16 uses a basic operand size of 16 bits. An operand is misaligned when it
overlaps a word boundary. This is determined by the value of ADDR0. When ADDR0
= 0 (an even address), the address is on a word and byte boundary. When ADDR0 =
1 (an odd address), the address is on a byte boundary only. A byte operand is aligned
at any address; a word or long-word operand is misaligned at an odd address.
The largest amount of data that can be transferred by a single bus cycle is an aligned
word. If the MCU transfers a long-word operand through a 16-bit port, the most signif-
icant operand word is transferred on the first bus cycle and the least significant oper-
and word is transferred on a following bus cycle.
The CPU16 can perform misaligned word transfers. This capability makes it compati-
ble with the M68HC11 CPU. The CPU16 treats misaligned long-word transfers as two
misaligned word transfers.
Table 5-12 shows how operands are aligned for various types of transfers. OPn
entries are portions of a requested operand that are read or written during a bus cycle
and are defined by SIZ1, SIZ0, and ADDR0 for that bus cycle.
ADDR[23:20] follow the state of ADDR19 in the MCU.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
NOTE
MOTOROLA
5-27

Related parts for mc68hc916y3