Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F1933-E/P Datasheet(PDF) 55 Page - Microchip Technology

Part # PIC16F1933-E/P
Description  28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PDF  418 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1933-E/P Datasheet(HTML) 55 Page - Microchip Technology

Back Button PIC16F1933-E/P Datasheet HTML 51Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 52Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 53Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 54Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 55Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 56Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 57Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 58Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 59Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 418 page
background image
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 53
PIC16F193X/LF193X
2.4.1
ACCESSING THE STACK
The stack is available through the TOSH, TOSL and
STKPTR registers. STKPTR is the current value of the
Stack Pointer. TOSH:TOSL register pair points to the
TOP of the stack. Both registers are read/writable. TOS
is split into TOSH and TOSL due to the 15-bit size of the
PC. To access the stack, adjust the value of STKPTR,
which will position TOSH:TOSL, then read/write to
TOSH:TOSL. STKPTR is 5 bits to allow detection of
overflow and underflow.
During normal program operation, CALL, CALLW and
Interrupts will increment STKPTR while RETURN and
RETFIE
will decrement STKPTR. At any time STKPTR
can be inspected to see how much stack is left. The
STKPTR always points at the currently used place on
the stack. Therefore, a CALL or CALLW will write the
PC and then increment the STKPTR, and a return will
decrement the PC and then unload the PC.
2.4.2
OVERFLOW/UNDERFLOW RESET
If the STVREN bit in Configuration Word 2 is
programmed, the device will be reset if the stack is
PUSHed beyond the sixteenth level or POPed beyond
the first level, setting the appropriate bits (STKOVF or
STKUNF, respectively) in the PCON register.
2.5
Indirect Addressing, INDF and
FSR Registers
The INDFn registers are not physical registers. Any
instruction that accesses an INDFn register actually
accesses the register at the address specified by the
File Select Registers (FSR). If the FSRn address
specifies one of the two INDFn registers, the read will
return ‘0’ and the write will not occur (though Status bits
may be affected). The FSRn register value is created
by the pair FSRnH and FSRnL.
The FSR registers form a 16-bit address that allows an
addressing space with 65536 locations. These locations
are divided into three memory regions:
• Traditional Data Memory
• Linear Data Memory
• Program Flash Memory



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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