參數資料
型號: HD404458
廠商: Hitachi,Ltd.
英文描述: 4-bit HMCS400-Series microcomputer(4位單片微計算機)
中文描述: 4位HMCS400系列微機(4位單片微計算機)
文件頁數: 13/120頁
文件大?。?/td> 692K
代理商: HD404458
HD404459 Series
13
SPX Register (SPX), SPY Register (SPY):
Four-bit registers used to supplement the X and Y registers.
Carry Flag (CA):
One-bit flag that stores any ALU overflow generated by an arithmetic operation. CA is
affected by the SEC, REC, ROTL, and ROTR instructions. A carry is pushed onto the stack during an
interrupt and popped from the stack by the RTNI instruction—but not by the RTN instruction.
Status Flag (ST):
One-bit flag that latches any overflow generated by an arithmetic or compare instruction,
not-zero decision from the ALU, or result of a bit test. ST is used as a branch condition of the BR, BRL,
CAL, and CALL instructions. The contents of ST remain unchanged until the next arithmetic, compare, or
bit test instruction is executed, but become 1 after the BR, BRL, CAL, or CALL instruction is read,
regardless of whether the instruction is executed or skipped. The contents of ST are pushed onto the stack
during an interrupt and popped from the stack by the RTNI instruction—but not by the RTN instruction.
Program Counter (PC):
14-bit binary counter that points to the ROM address of the instruction being
executed.
Stack Pointer (SP):
Ten-bit pointer that contains the address of the stack area to be used next. The SP is
initialized to $3FF by MCU reset. It is decremented by 4 when data is pushed onto the stack, and
incremented by 4 when data is popped from the stack. The top four bits of the SP are fixed at 1111, so a
stack can be used up to 16 levels.
The SP can be initialized to $3FF also by resetting the RSP bit with the REM or REMD instruction.
Reset
The MCU is reset by inputting a high-level voltage to the RESET pin. At power-on or when stop mode is
cancelled, RESET must be high for at least one t
RC
to enable the oscillator to stabilize. During operation,
RESET must be high for at least two instruction cycles.
See table 1 for initial values after MCU reset.
Interrupts
The MCU has 10 interrupt sources: four external signals (
INT
0
,
I NT
1
,
INT
2
, INT
3
), four timer/counters
(timers A, B, C, and D), serial interface, and wakeup.
An interrupt request flag (IF), interrupt mask (IM), and vector address are provided for each interrupt
source, and an interrupt enable flag (IE) controls the entire interrupt process.
Some vector addresses are shared by two different interrupts. They are timer A and INT
2
, timer B and INT
3
,
timer C and serial interface. So the type of request that has occurred must be checked at the beginning of
interrupt processing.
Interrupt Control Bits and Interrupt Processing:
Locations $000 to $003 and $022 to $023 in RAM are
reserved for the interrupt control bits which can be accessed by RAM bit manipulation instructions.
The interrupt request flag (IF) cannot be set by software. MCU reset initializes the interrupt enable flag (IE)
and the IF to 0 and the interrupt mask (IM) to 1.
相關PDF資料
PDF描述
HD404459 4-bit HMCS400-Series microcomputer(4位單片微計算機)
HD40A4052 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD404092 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD404094 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD4074094 4-Bit Single-Chip Microcomputer(4位單片微計算機)
相關代理商/技術參數
參數描述
HD404458H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-bit HMCS400-series microcomputers
HD404459 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-bit HMCS400-series microcomputers
HD404459H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-bit HMCS400-series microcomputers
HD404459SERIES 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
HD404508FS 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller