数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

EM78P152S 数据表(PDF) 10 Page - List of Unclassifed Manufacturers

部件名 EM78P152S
功能描述  8-Bit Microcontroller with OTP ROM
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ETC1 [List of Unclassifed Manufacturers]
网页  
标志 ETC1 - List of Unclassifed Manufacturers

EM78P152S 数据表(HTML) 10 Page - List of Unclassifed Manufacturers

Back Button EM78P152S Datasheet HTML 6Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 7Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 8Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 9Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 10Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 11Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 12Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 13Page - List of Unclassifed Manufacturers EM78P152S Datasheet HTML 14Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 52 page
background image
EM78P152/3S
8-Bit Microcontroller with OTP ROM
5.1.3 R2 (Program Counter and Stack)
Depending on the device type, R2 and hardware stack are 10-bit wide. The
structure is depicted in the following figure.
PC (A9 ~ A0)
Stack Level 1
Stack Level 3
Stack Level 2
Stack Level 4
Stack Level 5
On-chip Program
Memory
000H
3FFH
008H
Interrupt Vector
Reset Vector
Figure 5-2 Program Counter Organization
The configuration structure generates 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" 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 are pushed
onto the stack. Thus, the subroutine entry address can be located anywhere
within a page.
"RET" ("RETLk", "RETI") instruction loads the program counter with the contents
of the top-level stack.
"ADD R2, A" allows a relative address to be added to the current PC, and the ninth
and tenth bits of the PC won’t be changed.
"MOV R2, A" allows loading of an address from the "A" register to the lower 8 bits
of the PC, and the ninth and tenth bits (A8 ~ A9) of the PC will remain unchanged.
Any instruction written to R2 (e.g. “ADD R2,A”, "MOV R2, A", "BC R2, 6",
⋅⋅⋅⋅⋅) will
cause the ninth bit and the tenth bit (A8 ~ A9) of the PC to be cleared. Hence, the
computed jump is limited to the first 256 locations of a page.
All instructions are single instruction cycle (fclk/2 or fclk/4) except for instructions
that would change the contents of R2. Such instructions will need one more
instruction cycle.
6
Product Specification (V1.8) 09.08.2009
(This specification is subject to change without further notice)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com