Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

MPC8540 Datasheet(PDF) 259 Page - Freescale Semiconductor, Inc

Part # MPC8540
Description  MPC8540 PowerQUICC III??Integrated Host Processor Reference Manual
PDF  1302 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8540 Datasheet(HTML) 259 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 255Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 256Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 257Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 258Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 259Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 260Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 261Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 262Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 263Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 259 / 1302 page
background image
Registers for Branch Operations
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
6-9
6.4
Registers for Branch Operations
This section describes registers that support Book E branch and CR operations.
6.4.1
Condition Register (CR)
Table 6-3. XER Field Description
Bits
Name
Description
32
SO
Summary overflow. Set when an instruction (except mtspr) sets the overflow bit. Once set, SO
remains set until it is cleared by mtspr[XER] or mcrxr. SO is not altered by compare instructions or
by other instructions (except mtspr[XER] and mcrxr) that cannot overflow. Executing mtspr[XER],
supplying the values 0 for SO and 1 for OV, causes SO to be cleared and OV to be set.
33
OV
Overflow. X-form add, subtract from, and negate instructions having OE = 1 set OV if the carry out of
bit 32 is not equal to the carry out of bit 33, and clear OV otherwise to indicate a signed overflow.
X-form multiply low word and divide word instructions having OE = 1 set OV if the result cannot be
represented in 32 bits (mullwo, divwo, and divwuo) and clear OV otherwise. OV is not altered by
compare instructions or by other instructions (except mtspr[XER] and mcrxr) that cannot overflow.
34
CA
Carry. Add carrying, subtract from carrying, add extended, and subtract from extended instructions
set CA if there is a carry out of bit 32 and clear it otherwise. CA can be used to indicate unsigned
overflow for add and subtract operations that set CA. Shift right algebraic word instructions set CA if
any 1 bits are shifted out of a negative operand and clear CA otherwise. Compare instructions and
instructions that cannot carry (except Shift Right Algebraic Word, mtspr[XER], and mcrxr) do not
affect CA.
35–56
—
Reserved, should be cleared.
57–63
No. of
bytes
Supports emulation of load and store string instructions. Specifies the number of bytes to be
transferred by a load string indexed or store string indexed instruction.
32
35 36
39 40
43 44
47 48
51 52
55 56
59 60
63
Field
CR0
CR1
CR2
CR3
CR4
CR5
CR6
CR7
Reset
All zeros
R/W
R/W
Figure 6-3. Condition Register (CR)
Table 6-4. BI Operand Settings for CR Fields
CRn Bits CR Bits
BI
Description
CR0[0]
32
00000 Negative (LT)—Set when the result is negative.
For SPE APU vector compare and vector test instructions:
Set if the high-order element of rA is equal to the high-order element of rB; cleared
otherwise.
CR0[1]
33
00001 Positive (GT)—Set when the result is positive (and not zero).
For SPE APU vector compare and vector test instructions:
Set if the low-order element of rA is equal to the low-order element of rB; cleared
otherwise.



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