Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button UM0438 Datasheet HTML 20Page - STMicroelectronics UM0438 Datasheet HTML 21Page - STMicroelectronics UM0438 Datasheet HTML 22Page - STMicroelectronics UM0438 Datasheet HTML 23Page - STMicroelectronics UM0438 Datasheet HTML 24Page - STMicroelectronics UM0438 Datasheet HTML 25Page - STMicroelectronics UM0438 Datasheet HTML 26Page - STMicroelectronics UM0438 Datasheet HTML 27Page - STMicroelectronics UM0438 Datasheet HTML 28Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 50 page
background image
Simplified mnemonics for VLE instructions
UM0438
24/50
A.3.1
Operations on words
The simplified mnemonics in Table 12 do not support coding with a dot (.) suffix. In PowerPC
instructions, a dot (.) suffix causes the Rc bit to be set in the underlying instruction.
However, the following VLE instruction forms do not support this.
Examples using word mnemonics follow:
1.
Extract the sign bit (bit 0) of rS and place the result right-justified into rA.
e_extrwi rA,rS,1,0
equivalent to
e_rlwinm
rA,rS,1,31,31
2.
Insert the bit extracted in (1) into the sign bit (bit 0) of rB.
e_insrwi rB,rA,1,0
equivalent to
e_rlwimi rB,rA,31,0,0
3.
Shift the contents of rA left 8 bits.
e_slwi rA,rA,8
equivalent to
e_rlwinm rA,rA,8,0,23
4.
Clear the high-order 16 bits of rS and place the result into rA.
e_clrlwi rA,rS,16
equivalent to
e_rlwinm
rA,rS,0,16,31
A.4
Branch instruction simplified mnemonics
Branch conditional instructions can be coded with the operations and with a condition to be
tested as part of the instruction mnemonic rather than as numeric operands (the BO32, BI32
and BO16, BI16 operands). Table 13 shows the four general types of branch instructions.
Simplified mnemonics are defined only for branch conditional instructions that include either
the BO32, BI32 or BO16, BI16 operands; there is no need to simplify the other branch
mnemonics.
Table 12.
Word rotate and shift simplified mnemonics
Operation
Simplified mnemonic
Equivalent to:
Extract and left justify word immediate e_extlwi rA,rS,n,b (n > 0)
e_rlwinm rA,rS,b,0,n – 1
Extract and right justify word
immediate
e_extrwi rA,rS,n,b (n > 0)
e_rlwinm rA,rS,b + n,32 – n,31
Insert from left word immediate
e_inslwi rA,rS,n,b (n > 0)
e_rlwimi rA,rS,32 – b,b,(b + n) – 1
Insert from right word immediate
e_insrwi rA,rS,n,b (n > 0)
e_rlwimi rA,rS,32 – (b + n),b,(b + n) – 1
Rotate left word immediate
e_rotlwi rA,rS,n
e_rlwinm rA,rS,n,0,31
Rotate right word immediate
e_rotrwi rA,rS,n
e_rlwinm rA,rS,32 – n,0,31
Shift left word immediate
e_slwi rA,rS,n (n < 32)
e_rlwinm rA,rS,n,0,31 – n
Shift right word immediate
e_srwi rA,rS,n (n < 32)
e_rlwinm rA,rS,32 – n,n,31
Clear left word immediate
e_clrlwi rA,rS,n (n < 32)
e_rlwinm rA,rS,0,n,31
Clear right word immediate
e_clrrwi rA,rS,n (n < 32)
e_rlwinm rA,rS,0,0,31 – n
Clear left and shift left word immediate e_clrlslwi rA,rS,b,n (n
≤ b ≤ 31) e_rlwinm rA,rS,n,b – n,31 – n



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