參數(shù)資料
型號(hào): EM78P447NAM
廠商: ELAN Microelctronics Corp .
英文描述: 8-BIT MICRO-CONTROLLER
中文描述: 8位微控制器
文件頁數(shù): 9/55頁
文件大?。?/td> 1730K
代理商: EM78P447NAM
EM78P447S
OTP ROM
3. R2 (Program Counter) & Stack
Depending on the device type, R2 and hardware stack are 10-bit wide. The structure is depicted in
Fig.3.
Generating 1024
×
13 bits on-chip OTP ROM addresses to the relative programming instruction codes.
One program page is 1024 words long.
R2 is set as all "0"s when under RESET condition.
"JMP" instruction allows direct loading of the lower 10 program counter bits. Thus, "JMP" allows PC
to go to any location within a page.
"CALL" instruction loads the lower 10 bits of the PC, and then PC+1 is pushed into the stack. Thus,
the subroutine entry address can be located anywhere within a page.
"RET" ("RETL k", "RETI") instruction loads the program counter with the contents of the top-level
stack.
"ADD R2,A" allows the contents of ‘A’ to be added to the current PC, and the ninth and tenth bits of
the PC are cleared.
"MOV R2,A" allows to load an address from the "A" register to the lower 8 bits of the PC, and the ninth
and tenth bits of the PC are cleared.
Any instruction that writes to R2 (e.g. "ADD R2,A", "MOV R2,A", "BC R2,6",
) will cause the ninth
and tenth bits (A8~A9) of the PC to be cleared. Thus, the computed jump is limited to the first 256
locations of a page.
All instruction are single instruction cycle (fclk/2 or fclk/4) except for the instruction that would change
the contents of R2. Such instruction will need one more instruction cycle.
A7 ~ A0
On-chip Program
Memory
000H
001H
002H
FFFH
Hardware Vector
Software Vector
U
S
Reset Vector
A9 A8
A11 A10
Stack Level 1
Stack Level 2
Stack Level 3
Stack Level 4
Stack Level 5
CALL
RET
RETL
RETI
00 PAGE0 0000~03FF
01 PAGE1 0400~07FF
10 PAGE2 0800~0BFF
11 PAGE3 0C00~0FFF
R3
Fig. 3 Program Counter Organization
This specification is subject to change without prior notice.
06.25.2003 (V1.1)
9
相關(guān)PDF資料
PDF描述
EM78P447NAP 8-BIT MICRO-CONTROLLER
EM78P447NAS 8-BIT MICRO-CONTROLLER
EM78P451SWM 8-Bit Microcontroller with OTP ROM
EM78P451SAQ 8-Bit Microcontroller with OTP ROM
EM78P451S Quad, Serial, 8-Bit DACs with Rail-to-Rail Outputs
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EM7A8620 制造商:EMC 制造商全稱:ELAN Microelectronics Corp 功能描述:Voice over IP
EM7G 制造商:GULFSEMI 制造商全稱:Gulf Semiconductor 功能描述:ULTRAFAST EFFICIENT PLASTIC SILICON RECTIFIER VOLTAGE: 1000V CURRENT: 1.0A
EM800 制造商:EDI 制造商全稱:Electronic devices inc. 功能描述:HIGH VOLTAGE HIGH CURRENT MINIATURE RECTIFIERS
EM8000EHP 制造商:JDSU 制造商全稱:JDS Uniphase Corporation 功能描述:The industrya??s most compact 100 G test solution
EM800-DCM 制造商:MRV 制造商全稱:MRV 功能描述:LambdaDriver Dispersion Compensation Module (EM800/1600-DCM and DCMD)