m38039g6hsp Renesas Electronics Corporation., m38039g6hsp Datasheet - Page 10

no-image

m38039g6hsp

Manufacturer Part Number
m38039g6hsp
Description
Single-chip 8-bit Cmos Microcomputer
Manufacturer
Renesas Electronics Corporation.
Datasheet
3803 Group (Spec.H QzROM version)
Rev.1.10
REJ03B0166-0110
FUNCTIONAL DESCRIPTION
CENTRAL PROCESSING UNIT (CPU)
The 3803 group (Spec.H QzROM version) uses the standard 740
Family instruction set. Refer to the table of 740 Family
addressing modes and machine instructions or the 740 Family
Software Manual for details on the instruction set.
Machine-resident 740 Family instructions are as follows:
[Accumulator (A)]
The accumulator is an 8-bit register. Data operations such as data
transfer, etc. are executed mainly through the accumulator.
[Index Register X (X)]
The index register X is an 8-bit register. In the index addressing
modes, the value of the OPERAND is added to the contents of
register X and specifies the real address.
[Index Register Y (Y)]
The index register Y is an 8-bit register. In partial instruction, the
value of the OPERAND is added to the contents of register Y
and specifies the real address.
Fig 6.
The FST and SLW instructions cannot be used.
The STP, WIT, MUL, and DIV instructions can be used.
740 Family CPU register structure
Nov 14, 2005
b15
PC
Page 10 of 91
H
b7
b7
b7
b7
b7
b7
N
V
T
PC
B
A
X
Y
S
D
L
I
Z
b0
b0
b0
b0
b0
b0
[Stack Pointer (S)]
The stack pointer is an 8-bit register used during subroutine calls
and interrupts. This register indicates start address of stored area
(stack) for storing registers during subroutine calls and
interrupts.
The low-order 8 bits of the stack address are determined by the
contents of the stack pointer. The high-order 8 bits of the stack
address are determined by the stack page selection bit. If the
stack page selection bit is “0”, the high-order 8 bits becomes
“00
becomes “01
The operations of pushing register contents onto the stack and
popping them from the stack are shown in Figure.7.
Store registers other than those described in Figure.6 with
program when the user needs them during interrupts or
subroutine calls (see Table 6).
[Program Counter (PC)]
The program counter is a 16-bit counter consisting of two 8-bit
registers PC
next instruction to be executed.
C
16
Accumulator
Index Register X
Index Register Y
Stack Pointer
Program Counter
Processor Status Register (PS)
Carry Flag
Zero Flag
Interrupt Disable Flag
Decimal Mode Flag
Break Flag
Index X Mode Flag
Overflow Flag
Negative Flag
”. If the stack page selection bit is “1”, the high-order 8 bits
H
16
and PC
”.
L
. It is used to indicate the address of the
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.

Related parts for m38039g6hsp