MC81F4204
44 April 24, 2012 Ver.1.41
9. MEMORY ORGANIZATION
This MCU has separated address spaces for the *program memory* and the *data Memory*.
The program memory is a ROM which stores a program code. It is not possible to write a data at the
program memory while the MCU is running.
The Data Memory is a REM which is used by MCU at running time.
9.1 Registers
There are few registers which are used for MCU operating.
Accumulator( A Register ) : Accumulator is the 8-bit general purpose register, which is used for
accumulating and some data operations such as transfer, temporary saving, and conditional
judgment , etc.
And it can be used as a part of 16-bit register with Y Register as shown below.
X, Y Registers: In the addressing mode, these are used as a index register. It makes it possible to
access at Xth or Yth memory from specific address. It is extremely effective for referencing a
subroutine table and a memory table.
Figure 9-1 Configuration of Registers
Figure 9-2 Configuration of YA 16-bit Registers