m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 28

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
Fig. 2.1.3 Program counter and Program bank register
2.1.5 Program counter (PC)
The program counter is a 16-bit counter that indicates the low-order 16 bits of the address (24 bits) at
which an instruction to be executed next (in other words, an instruction to be read out from an instruction
queue buffer next) is stored. The contents of the high-order program counter (PC
low-order program counter (PC
the contents of the reset’s vector address (addresses FFFE
Figure 2.1.3 shows the program counter and the program bank register.
2.1.6 Program bank register (PG)
The memory space is divided into units of 64 Kbytes. This unit is called “bank.” (Refer to section “2.3
Access space.”)
The program bank register is an 8-bit register that indicates the high-order 8 bits of the address (24 bits)
at which an instruction to be executed next (in other words, an instruction to be read out from an instruction
queue buffer next) is stored. These 8 bits indicate a bank.
When a carry occurs after adding the contents of the program counter or adding the offset value to the
contents of the program counter in the branch instruction and others, the contents of the program bank
register is automatically incremented by 1. When a borrow occurs after subtracting the contents of the
program counter, the contents of the program bank register is automatically decremented by 1. Therefore,
there is no need to consider bank boundaries during programming, usually.
This register is cleared to “00
2.1.7 Data bank register (DT)
The data bank register is an 8-bit register. In the following addressing modes using the data bank register,
the contents of this register is used as the high-order 8 bits (bank) of a 24-bit address to be accessed.
Use the LDT instruction when setting a value to this register.
This register is cleared to “00
Addressing modes using data bank register
Refer to “7900 Series Software Manual” for addressing modes.
•Direct indirect
•Direct indexed X indirect
•Direct indirect indexed Y
•Absolute
•Absolute indexed X
•Absolute indexed Y
•Absolute bit relative
•Stack pointer relative indirect indexed Y
•Multiplied accumulation
( b 2 3 )
b 7
P G
16
16
L
” at reset.
” at reset.
) becomes “FE
CENTRAL PROCESSING UNIT (CPU)
(b16)
7905 Group User’s Manual Rev.1.0
b 0 b15
16
” at reset. The contents of the program counter becomes
P C
H
16
2.1 Central processing unit (CPU)
, FFFF
b 8 b 7
16
) just after reset.
P C
L
H
) become “FF
b 0
16
,” and the
2-5

Related parts for m37905