UPD65 NEC [NEC], UPD65 Datasheet - Page 9

no-image

UPD65

Manufacturer Part Number
UPD65
Description
4-BIT SINGLE-CHIP MICROCONTROLLER FOR INFRARED REMOTE CONTROL TRANSMISSION
Manufacturer
NEC [NEC]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD65002G-052
Manufacturer:
PANASONIC
Quantity:
2 809
Part Number:
UPD65002G-052
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD65003C-073
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD65004C048
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD65005C280
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD65005C280
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD65005CF-192
Manufacturer:
ST
Quantity:
5 172
Part Number:
UPD65005CF-192
Manufacturer:
NEC
Quantity:
2 000
Part Number:
UPD65005CF-192
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD65006C-096
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD65006G-220
Manufacturer:
BEL
Quantity:
278
Part Number:
UPD65006GF-302-3B8
Manufacturer:
VISHAY
Quantity:
11
Part Number:
UPD65012C286
Manufacturer:
NEC
Quantity:
6 231
Part Number:
UPD65012C378
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD65012C378
Manufacturer:
NEC
Quantity:
20 000
2. INTERNAL CPU FUNCTIONS
2.1 Program Counter (PC): 11 Bits
contents are automatically incremented in accordance with the instruction length (byte count) each time an
instruction is executed.
destination address written in the operand.
entered in the PC after the PC contents at the time are saved in the address stack register (ASR). If the return
instruction (RET) is executed after the CALL instruction is executed, the address saved in the ASR is restored to
the PC.
2.2 Stack Pointer (SP): 1 Bit
when the return instruction (RET) is executed.
signal is generated and the PC becoming “000H”.
by means of a program.
2.3 Address Stack Register (ASR (RF)): 11 Bits
the ASR value even after the RET is executed.
Refers to the binary counter that holds the address information of the program memory.
The program counter contains the address of the instruction that should be executed next. Normally, the counter
However, when executing JUMP instructions (JMP, JC, JNC, JF, JNF), the program counter contains the jump
When executing the subroutine call instruction (CALL), the call destination address written in the operand is
When reset, the value of the program counter becomes “000H”.
Refers to the 1-bit register which holds the status of the address stack register.
The stack pointer contents are incremented when the call instruction (CALL) is executed; they are decremented
When reset, the stack pointer contents are cleared to “0”.
When the stack pointer overflows (stack level 2 or more) or underflows, the CPU is hung up thus a system reset
As no instruction is available to set a value directly for the stack pointer, it is not possible to operate the pointer
The address stack register saves the return address of the program after a subroutine call instruction is executed.
The low-order 8 bits are arranged in the RF of the data memory as a dual-function RAM. The register holds
When reset, it holds the previous data (undefined when turning on the power).
Caution If the RF is accessed as the data memory, the high-order 3 bits of the ASR become undefined.
ASR
PC
ASR10
PC10
ASR9
PC9
Figure 2-2. Address Stack Register Organization
ASR8
Figure 2-1. Program Counter Organization
PC8
ASR7
PC7
Data Sheet U14380EJ2V0DS00
PC6
ASR6
PC5
ASR5
PC4
ASR4
PC3
RF
ASR3
PC2
ASR2
PC1
ASR1
PC0
PD64A, 65
ASR0
9

Related parts for UPD65