参数资料
型号: M34508G4FP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
封装: 5.30 X12.60 MM, 1.27 MM PITCH, PLASTIC, SOP-20
文件页数: 17/106页
文件大小: 1059K
代理商: M34508G4FP
Rev.1.03
2009.07.27
page 16 of 140
REJ03B0148-0103
4508 Group
(8) Program counter (PC)
Program counter (PC) is used to specify a ROM address (page and
address). It determines a sequence in which instructions stored in
ROM are read. It is a binary counter that increments the number of
instruction bytes each time an instruction is executed. However,
the value changes to a specified address when branch instructions,
subroutine call instructions, return instructions, or the table refer-
ence instruction (TABP p) is executed.
Program counter consists of PCH (most significant bit to bit 7)
which specifies to a ROM page and PCL (bits 6 to 0) which speci-
fies an address within a page. After it reaches the last address
(address 127) of a page, it specifies address 0 of the next page
(Figure 7).
Make sure that the PCH does not specify after the last page of the
built-in ROM.
(9) Data pointer (DP)
Data pointer (DP) is used to specify a RAM address and consists
of registers Z, X, and Y. Register Z specifies a RAM file group, reg-
ister X specifies a file, and register Y specifies a RAM digit (Figure
8).
Register Y is also used to specify the port D bit position.
When using port D, set the port D bit position to register Y certainly
and execute the SD, RD, or SZD instruction (Figure 9).
Note
Register Z of data pointer is undefined after system is released
from reset.
Also, registers Z, X and Y are undefined in the RAM back-up. After
system is returned from the RAM back-up, set these registers.
Fig. 7 Program counter (PC) structure
Fig. 8 Data pointer (DP) structure
Fig. 9 SD instruction execution example
p5 p4 p3 p2 p1 p0
a6 a5 a4 a3 a2 a1 a0
Program counter
PCH
Specifying page
PCL
Specifying address
p6
Z1 Z0 X3 X2 X1 X0 Y3 Y2 Y1 Y0
Data pointer (DP)
Register Z (2)
Register X (4)
Register Y (4)
Specifying
RAM digit
Specifying RAM file
Specifying RAM file group
0
01
1
Set
Specifying bit position
Port D output latch
Register Y (4)
D2
D3
D1
D0
0
相关PDF资料
PDF描述
M34518M2-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
M34518M4-XXXSP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP32
M34518E8FP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP32
M34518M2-XXXSP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP32
M34518E8SP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDIP32
相关代理商/技术参数
参数描述
M34508G4GP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4GP#U0 功能描述:MCU 2/5V 4096 QZROM PB-FREE 20-S RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:720/4500 标准包装:300 系列:78K0R/Ix3 核心处理器:78K/0R 芯体尺寸:16-位 速度:40MHz 连通性:3 线 SIO,I²C,LIN,UART/USART 外围设备:DMA,LVD,POR,PWM,WDT 输入/输出数:27 程序存储器容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:38-SSOP 包装:托盘
M34508G4GP(#UO) 制造商:Renesas Electronics Corporation 功能描述:
M34508G4HFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4HGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER