Electronic Components Datasheet Search
  English  ▼

X  

XC2000 Datasheet(PDF) 180 Page - Infineon Technologies AG

Part # XC2000
Description  16/32-Bit Single-Chip Microcontroller with 32-Bit Performance Volume 1 (of 2): Peripheral Units
PDF  647 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

XC2000 Datasheet(HTML) 180 Page - Infineon Technologies AG

Back Button XC2000 Datasheet HTML 176Page - Infineon Technologies AG XC2000 Datasheet HTML 177Page - Infineon Technologies AG XC2000 Datasheet HTML 178Page - Infineon Technologies AG XC2000 Datasheet HTML 179Page - Infineon Technologies AG XC2000 Datasheet HTML 180Page - Infineon Technologies AG XC2000 Datasheet HTML 181Page - Infineon Technologies AG XC2000 Datasheet HTML 182Page - Infineon Technologies AG XC2000 Datasheet HTML 183Page - Infineon Technologies AG XC2000 Datasheet HTML 184Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 180 / 647 page
background image
XC2000 Derivatives
System Units (Vol. 1 of 2)
Central Processing Unit (CPU)
Preliminary
User’s Manual
4-36
V1.0, 2007-06
CPUSV2_X, V2.2
4.5.2.1
The Context Pointer (CP)
This non-bit-addressable register selects the current global register bank context. It can
be updated via any instruction capable of modifying SFRs.
Note: It is the user’s responsibility to ensure that the physical GPR address specified via
CP register plus short GPR address is always an internal DPRAM location. If this
condition is not met, unexpected results may occur. Do not set CP below the
internal DPRAM start address. Do not set CP above FDE0
H, otherwise the store
phase will overwrite SFRs (beginning at FE00
H).
The XC2000 switches the complete memory-mapped GPR bank with a single
instruction. After switching, the service routine executes within its own separate context.
The instruction “SCXT CP, #New_Bank” pushes the value of the current context pointer
(CP) into the system stack and loads CP with the immediate value “New_Bank”, which
selects a new register bank. The service routine may now use its “own registers”. This
memory register bank is preserved when the service routine terminates, i.e. its contents
are available on the next call.
Before returning from the service routine (RETI), the previous CP is simply popped from
the system stack which returns the registers to the original bank.
Note: Due to the internal instruction pipeline, a write operation to the CP register stalls
the instruction flow until the register file context switch is really executed. The
instruction immediately following the instruction that updates CP register can use
the new value of the changed CP.
CP
Context Pointer
SFR (FE10
H/08H)
Reset Value: FC00
H
15
14
13
12
11
10
9
8765
432
10
111
1
cp
0
rrr
r
rw
r
Field
Bits
Type
Description
cp
[11:1]
rw
Modifiable Portion of Register CP
Specifies the (word) base address of the current
global (memory-mapped) register bank.
When writing a value to register CP with bits CP[11:9]
= 000
B, bits CP[11:10] are set to 11B by hardware.



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