UPD61P24CS NEC, UPD61P24CS Datasheet - Page 4

no-image

UPD61P24CS

Manufacturer Part Number
UPD61P24CS
Description
4-BIT SINGLE-CHIP MICROCONTROLLER FOR REMOTE CONTROL TRANSMISSION
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD61P24CS
Manufacturer:
NEC
Quantity:
24
Part Number:
UPD61P24CS
Manufacturer:
NEC
Quantity:
20 000
1.
according to the number of instruction bytes.
memory. Then, a value needed for each jump instruction will be loaded.
into the PC.
2.
memory.
the return instruction (RET) is executed.
the data memory as the stack area.
signal will be generated.
4
The program counter (PC) is a binary counter, which holds the address information for the program memory.
Normally, the program counter contents are automatically incremented each time an instruction is executed,
When executing a jump instruction (JMP0, JC, JF), the program counter indicates the jump destination.
Immediate data or the data memory contents are loaded to all or some bits of the PC.
When executing the call instruction (CALL0), the PC contents are incremented (+1) and saved into the stack
When executing the return instruction (RET), the stack memory contents are double incremented (+2) and loaded
When “all clear” is input or on reset, the PC contents are cleared to “000H”.
This 2-bit register holds the start address information for the stack area. The stack area is shared with the data
The SP contents are incremented, when the call instruction (CALL0) is executed. They are decremented, when
The stack pointer is cleared to “00B” after reset or “all clear” is input, and indicates the highest address FH for
The figure below shows the relationship for the stack pointer and the data memory area.
If the stack pointer overflows or underflows, it is determined that the CPU overflows, and the PC internal reset
PROGRAM COUNTER (PC) ……… 10 BITS
STACK POINTER (SP) ……… 2 BITS
PC
9
PC
8
Figure 1-1. Program Counter Organization
PC
7
PC
Data memory
6
PC
5
PC
4
PC
3
R
R
R
R
PC
C
D
E
F
2
(SP)
PC
11B
10B
01B
00B
1
PC
0
PC
PD61P24

Related parts for UPD61P24CS