전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PIC24FJ128GA310 데이터시트(PDF) 68 Page - Microchip Technology

부품명 PIC24FJ128GA310
상세설명  64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers with LCD Controller and nanoWatt XLP Technology
PDF  406 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24FJ128GA310 데이터시트(HTML) 68 Page - Microchip Technology

Back Button PIC24FJ128GA310 Datasheet HTML 64Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 65Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 66Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 67Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 68Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 69Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 70Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 71Page - Microchip Technology PIC24FJ128GA310 Datasheet HTML 72Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 406 page
background image
PIC24FJ128GA310 FAMILY
DS39996F-page 68
 2010-2011 Microchip Technology Inc.
TABLE 4-36:
EDS MEMORY ADDRESS WITH DIFFERENT PAGES AND ADDRESSES
4.2.6
SOFTWARE STACK
Apart from its use as a working register, the W15
register in PIC24F devices is also used as a Software
Stack Pointer (SSP). The pointer always points to the
first available free word and grows from lower to higher
addresses. It pre-decrements for stack pops and
post-increments for stack pushes, as shown in
Figure 4-7. Note that for a PC push during any CALL
instruction, the MSB of the PC is zero-extended before
the push, ensuring that the MSB is always clear.
The Stack Pointer Limit Value register (SPLIM), associ-
ated with the Stack Pointer, sets an upper address
boundary for the stack. SPLIM is uninitialized at Reset.
As is the case for the Stack Pointer, SPLIM<0> is
forced to ‘0’ as all stack operations must be
word-aligned. Whenever an EA is generated using
W15 as a source or destination pointer, the resulting
address is compared with the value in SPLIM. If the
contents of the Stack Pointer (W15) and the SPLIM reg-
ister are equal, and a push operation is performed, a
stack error trap will not occur. The stack error trap will
occur on a subsequent push operation. Thus, for
example, if it is desirable to cause a stack error trap
when the stack grows beyond address 2000h in RAM,
initialize the SPLIM with the value, 1FFEh.
Similarly, a Stack Pointer underflow (stack error) trap is
generated when the Stack Pointer address is found to
be less than 0800h. This prevents the stack from
interfering with the SFR space.
A write to the SPLIM register should not be immediately
followed by an indirect read operation using W15.
FIGURE 4-7:
CALL
STACK FRAME
DSRPAG
(Data Space Read
Register)
DSWPAG
(Data Space Write
Register)
Source/Destination
Address while
Indirect
Addressing
24-Bit EA
Pointing to EDS
Comment
x(1)
x(1)
0000h to 1FFFh
000000h to
001FFFh
Near data space(2)
2000h to 7FFFh
002000h to
007FFFh
001h
001h
8000h to FFFFh
008000h to
00FFFEh
EPMP memory space
002h
002h
010000h to
017FFEh
003h
•
•
•
•
•
1FFh
003h
•
•
•
•
•
1FFh
018000h to
0187FEh
•
•
•
•
FF8000h to
FFFFFEh
000h
000h
Invalid Address
Address error trap(3)
Note 1:
If the source/destination address is below 8000h, the DSRPAG and DSWPAG registers are not considered.
2:
This data space can also be accessed by Direct Addressing.
3:
When the source/destination address is above 8000h and DSRPAG/DSWPAG are ‘0’, an address error
trap will occur.
Note:
A PC push during exception processing
will concatenate the SRL register to the
MSB of the PC prior to the push.
<Free Word>
PC<15:0>
000000000
0
15
W15 (before CALL)
W15 (after CALL)
0000h
PC<22:16>
POP
: [--W15]
PUSH : [W15++]



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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



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