Electronic Components Datasheet Search
  English  ▼

X  

UM0438 Datasheet(PDF) 37 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) 37 Page - STMicroelectronics

Back Button UM0438 Datasheet HTML 33Page - STMicroelectronics UM0438 Datasheet HTML 34Page - STMicroelectronics UM0438 Datasheet HTML 35Page - STMicroelectronics UM0438 Datasheet HTML 36Page - STMicroelectronics UM0438 Datasheet HTML 37Page - STMicroelectronics UM0438 Datasheet HTML 38Page - STMicroelectronics UM0438 Datasheet HTML 39Page - STMicroelectronics UM0438 Datasheet HTML 40Page - STMicroelectronics UM0438 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 50 page
background image
UM0438
Simplified mnemonics for VLE instructions
37/50
As with branch mnemonics, the crD field of a compare instruction can be omitted if CR0 is
used, as shown in examples 1 nd 3 below. Otherwise, the target CR field must be specified
as the first operand. The following examples use word compare mnemonics:
1.
Compare rA with immediate value 100 as signed 32-bit integers and place result in
CR0.
e_cmpwi rA,100
equivalent to
e_cmp16i rA,100
2.
Same as (1), but place results in CR4.
e_cmpwi cr3,rA,100
equivalent to
e_cmpi 3,rA,100
3.
Compare rA and rB as unsigned 32-bit integers and place result in CR0.
cmplw rA,rB
equivalent to
cmpl 0,0,rA,rB
A.7
Trap instructions simplified mnemonics
The codes in Table 28 are for the most common combinations of trap conditions.
The mnemonics in Table 29 are variations of trap instructions, with the most useful TO
values represented in the mnemonic rather than specified as a numeric operand.
Table 28.
Standard codes for trap instructions
Code
Description
TO Encoding
<
>
=
<U(1)
1.
The symbol ‘<U’ indicates an unsigned less-than evaluation is performed.
>U(2)
2.
The symbol ‘>U’ indicates an unsigned greater-than evaluation is performed.
lt
Less than
16
1
0000
le
Less than or equal
20
1
0100
eq
Equal
4
0
0100
ge
Greater than or equal
12
0
1100
gt
Greater than
8
0
1000
nl
Not less than
12
0
1100
ne
Not equal
24
1
1000
ng
Not greater than
20
1
0100
llt
Logically less than
2
0
0010
lle
Logically less than or equal
6
0
0110
lge
Logically greater than or equal
5
0
0101
lgt
Logically greater than
1
0
0001
lnl
Logically not less than
5
0
0101
lng
Logically not greater than
6
0
0110
—
Unconditional
31
1
1111



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