參數(shù)資料
型號: HD4048412TF
廠商: Hitachi,Ltd.
英文描述: 4-Bit Single-Chip Microcomputer
中文描述: 4位單片機
文件頁數(shù): 8/125頁
文件大小: 471K
代理商: HD4048412TF
HD404849 Series
8
RAM Memory Map
The MCU contains a RAM area consisting of a memory register area, an LCD data area, a data area, and a
stack area. In addition, an interrupt control bits area, special register area, and register flag area are mapped
onto the same RAM memory space as a RAM-mapped register area outside the above areas. The RAM
memory map is shown in figure 2 and described below.
RAM-Mapped Register Area ($000–$03F):
Interrupt Control Bits Area ($000–$003)
This area is used for interrupt control bits (figure 3). These bits can be accessed only by RAM bit
manipulation instructions (SEM/SEMD, REM/REMD, and TM/TMD). However, note that not all the
instructions can be used for each bit. Limitations on using the instructions are shown in figure 4.
Special Function Register Area ($004–$01F, $024–$03F)
This area is used as mode registers and data registers for external interrupts, serial interface,
timer/counters, LCD, and A/D converter, and is used as data control registers for I/O ports. The
structure is shown in figures 2 and 5. These registers can be classified into three types: write-only (W),
read-only (R), and read/write (R/W). The SEM, SEMD, REM, and REMD instructions can be used for
the LCD control register (LCR: $01B), but RAM bit manipulation instructions cannot be used for other
registers.
Register Flag Area ($020–$023)
This area is used for the DTON, WDON, and other register flags and interrupt control bits (figure 3).
These bits can be accessed only by RAM bit manipulation instructions (SEM/SEMD, REM/REMD, and
TM/TMD). However, note that not all the instructions can be used for each bit. Limitations on using
the instructions are shown in figure 4.
Memory Register (MR) Area ($040–$04F):
Consisting of 16 addresses, this area (MR0–MR15) can be
accessed by register-register instructions (LAMR and XMRA). The structure is shown in figure 6.
LCD Data Area ($05C–$07B):
Used for storing 32-digit LCD data which is automatically output to LCD
segments as display data. Data 1 lights the corresponding LCD segment; data 0 extinguishes it. Refer to
the LCD description for details.
Data Area ($090–$21F: HD404848; $090–$2EF: HD4048412, HD404849, HD4074849):
464 digits
from $090 to $25F have two banks, which can be selected by setting the bank register (V: $03F). Before
accessing this area, set the bank register to the required value (figure 7). The area from $260 to $2EF is
accessed without setting the bank register.
Stack Area ($3C0–$3FF):
Used for saving the contents of the program counter (PC), status flag (ST), and
carry flag (CA) at subroutine call (CAL or CALL instruction) and for interrupts. This area can be used as a
16-level nesting subroutine stack in which one level requires four digits. The data to be saved and the save
conditions are shown in figure 6.
The program counter is restored by either the RTN or RTNI instruction, but the status and carry flags can
only be restored by the RTNI instruction. Any unused space in this area is used for data storage.
相關PDF資料
PDF描述
HD404848 4-Bit Single-Chip Microcomputer
HD404848FS 4-Bit Single-Chip Microcomputer
HD404848H RELAY SOCKET
HD404848TF PLASTIC-GRIP
HD404849 TERMINAL
相關代理商/技術參數(shù)
參數(shù)描述
HD404848 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404848FS 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404848H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404848TF 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404849 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer