UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 103

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
3.8.2
two 8-bit registers. Also, four of the 16-bit registers can be combined with an 8-bit register for address extension and manipulated
in 24-bit units.
inter-register operation instruction.
LOCATION 0FH instruction is executed) can be given an address specification and accessed as ordinary data memory
irrespective of whether or not it is used as the general-purpose register area.
normal processing and processing in the event of an interrupt.
In addition to being manipulated in 8-bit units, the general-purpose registers can also be manipulated in 16-bit units by pairing
Each register can be used in a general-purpose way for temporary storage of an operation result and as the operand of an
The area from 0FE80H to 0FEFFH (when the LOCATION 0 instruction is executed; 0FFE80H to 0FFEFFH when the
As 8 register banks are provided in the 78K/IV series, efficient programs can be written by using different register banks for
The registers have the following specific functions.
A (R1):
X (R0):
AX (RP0):
AXDE:
B (R3):
C (R2):
RP2:
RP3:
• Register mainly used for 8-bit data transfers and operation processing. Can be used in combination with all addressing
• Can also be used for bit data storage.
• Can be used as the register that stores the offset value in indexed addressing and based indexed addressing.
• Can be used for bit data storage.
• Register mainly used for 16-bit data transfers and operation processing. Can be used in combination with all
• Used for 32-bit data storage when a DIVUX, MACW or MACSW instruction is executed.
• Has a loop counter function, and can be used by the DBNZ instruction.
• Can be used as the register that stores the offset value in indexed addressing and based indexed addressing.
• Used as the MACW and MACSW instruction data pointer.
• Has a loop counter function, and can be used by the DBNZ instruction.
• Can be used as the register that stores the offset value in based indexed addressing.
• Used as the counter in a string instruction and the SACW instruction.
• Used as the MACW and MACSW instruction data pointer.
• Used to save the low-order 16 bits of the program counter (PC) when context switching is used.
• Used to save the high-order 4 bits of the program counter (PC) and the program status word (PSW) (excluding bits
Functions
modes for 8-bit data.
addressing modes for 16-bit data.
0 to 3 of PSWH) when context switching is used.
CHAPTER 3 CPU ARCHITECTURE
63

Related parts for UPD784026