Multi-Byte Data In Memory Space - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 2 CPU
2.6

Multi-byte Data in Memory Space

Data is written to memory from the low-order addresses. Therefore, for a 32-bit data
item, the low-order 16 bits are transferred before the high-order 16 bits.
If a reset signal is inputted immediately after the low-order bits are written, the high-
order bits might not be written.
Multi-byte Data Allocation in Memory Space
Figure 2.6-1 is a diagram of multi-byte data configuration in memory. The low-order eight bits of a data
item are stored at address n, then address n+1, address n+2, address n+3, etc.
H
01010101
11001100
11111111
00010100
L
Accessing Multi-byte Data
Fundamentally, accesses are made within a bank. For an instruction accessing a multi-byte data item,
address FFFF
accessing multi-byte data.
80FFFF
800000
H
36
Figure 2.6-1 Sample Allocation of Multi-byte Data in Memory
is followed by address 0000
H
Figure 2.6-2 Execution of MOVW A, 080FFFF
H
01
H
H
·
·
·
23
H
L
MSB
11001100
01010101
of the same bank. Figure 2.6-2 is an example of an instruction
H
AL before execution
AL after execution
LSB
11111111
00010100
H
??
??
23
01
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents