Electronic Components Datasheet Search
  English  ▼

X  

UM0438 Datasheet(PDF) 29 Page - STMicroelectronics

Part # UM0438
Description  This user manual defines a programming model for use with the variable-length encoding
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0438 Datasheet(HTML) 29 Page - STMicroelectronics

Back Button UM0438 Datasheet HTML 25Page - STMicroelectronics UM0438 Datasheet HTML 26Page - STMicroelectronics UM0438 Datasheet HTML 27Page - STMicroelectronics UM0438 Datasheet HTML 28Page - STMicroelectronics UM0438 Datasheet HTML 29Page - STMicroelectronics UM0438 Datasheet HTML 30Page - STMicroelectronics UM0438 Datasheet HTML 31Page - STMicroelectronics UM0438 Datasheet HTML 32Page - STMicroelectronics UM0438 Datasheet HTML 33Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 50 page
background image
UM0438
Simplified mnemonics for VLE instructions
29/50
Specifying a CR Bit
Note that the AIM version of the PowerPC architecture numbers CR bits 0–31 and Book E
numbers them 32–63. However, no adjustment is necessary to the code; in Book E devices,
32 is automatically added to the BI32 and BI16 values, as shown in Table 15 and Table 16.
Some simplified mnemonics incorporate only the BO32 or BO16 fields (as described
Section A.4.2: Eliminating the BO32 and BO16 operands). If one of these simplified
mnemonics is used and the CR must be accessed, the BI32 or BI16 operand can be
specified either as a numeric value or by using the symbols in Table 16.
Compare word instructions (described in Section A.6: Compare word simplified
mnemonics), floating-point compare instructions, move to CR instructions, and others can
also modify CR fields, so CR0 and CR1 may hold values that do not adhere to the meanings
described in Table 15.
f
Table 15.
CR0 and CR1 fields as updated by integer and floating-point instructions
CRn Bit
CR Bits
BI32
BI16
Description
AIM Book E
0–1
2–3
0–1
CR0[0]
0
32
00
00
00
Negative (LT)—Set when the result is negative.
CR0[1]
1
33
00
01
01
Positive (GT)—Set when the result is positive (and not zero).
CR0[2]
2
34
00
10
10
Zero (EQ)—Set when the result is zero.
CR0[3]
3
35
00
11
11
Summary overflow (SO). Copy of XER[SO] at the instruction’s
completion.
CR1[0]
4
36
01
00
—
Copy of FPSCR[FX] at the instruction’s completion.
CR1[1]
5
37
01
01
—
Copy of FPSCR[FEX] at the instruction’s completion.
CR1[2]
6
38
01
10
—
Copy of FPSCR[VX] at the instruction’s completion.
CR1[3]
7
39
01
11
—
Copy of FPSCR[OX] at the instruction’s completion.
Table 16.
BI32 and BI16 operand settings for CR fields for branch comparisons
crn
bit
bit expression
CR bits
bi32
bi16
Description
AIM BI
operand
Book E 0–1 2–3
0–1
crn[0]
4 * cr0 + lt (or lt)
4 * cr1 + lt
4 * cr2 + lt
4 * cr3+ lt
0
4
8
12
32
36
40
44
00
01
10
11
00
00
—
—
—
less than or floating-point less than (lt, fl).
for integer compare instructions:
ra < simm or rb (signed comparison) or ra <
uimm or rb (unsigned comparison).
for floating-point compare instructions: fra <
frb.



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


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