参数资料
型号: M34571GD-XXXFP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
封装: 5.30 X 10.10 MM, 0.80 MM PITCH, PLASTIC, SSOP-24
文件页数: 8/33页
文件大小: 1526K
代理商: M34571GD-XXXFP
Rev.1.02
May 25, 2007
Page 14 of 124
REJ03B0179-0102
4571 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 reference 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
specifies an address within a page. After it reaches the last
address (address 127) of a page, it specifies address 0 of the next
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,
register X specifies a file, and register Y specifies a RAM digit
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
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 13. Program counter (PC) structure
Fig 14. Data pointer (DP) structure
Fig 15. SD instruction execution example
a3
a2
a1
a0
a6
a5
a4
PCH
Specifying page
Program counter
p3
p2
p1
p0
p6
p5
p4
PCL
Specifying address
Register Y (4)
Data pointer (DP)
X2 X1 X0 Y3
Z1 Z0 X3
Y2 Y1 Y0
Register X (4)
Register Z (2)
Specifying
RAM digit
Specifying RAM file
Specifying RAM file group
Specifying bit position
0
1
Register Y (4)
Set
D3
D2
1
D1
D0
Port D output latch
相关PDF资料
PDF描述
M34571G6-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M34571GDFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M34571G4FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M34571G6FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO24
M35015-XXXSP 24 X 10 CHARACTERS CRT CHAR DSPL CTLR, PDIP20
相关代理商/技术参数
参数描述
M3458 功能描述:电缆固定件和配件 RLTCG 3/8 NPT BLACK NO NUT RoHS:否 制造商:Heyco 类型:Cable Grips, Liquid Tight 材料:Nylon 颜色:Black 安装方法:Cable 最大光束直径:11.4 mm 抗拉强度:
M34583EDFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34583MD-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34584EDFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34584MD-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER