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

X  

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

Back Button UM0438 Datasheet HTML 19Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 50 page
background image
UM0438
Simplified mnemonics for VLE instructions
23/50
A.2.2
Subtract
Subtract from instructions subtract the second operand (rA) from the third (rB). The
simplified mnemonics in Table 11 use the more common order in which the third operand is
subtracted from the second.
A.3
Rotate and shift simplified mnemonics
Rotate and shift instructions provide powerful, general ways to manipulate register contents,
but they can be difficult to understand. Simplified mnemonics are provided for the following
operations:
Extract—Select a field of n bits starting at bit position b in the source register; left or
right justify this field in the target register; clear all other bits of the target register.
Insert—Select a left- or right-justified field of n bits in the source register; insert this
field starting at bit position b of the target register; leave other bits of the target register
unchanged.
Rotate—Rotate the contents of a register right or left n bits without masking.
Shift—Shift the contents of a register right or left n bits, clearing vacated bits (logical
shift).
Clear—Clear the leftmost or rightmost n bits of a register.
Clear left and shift left—Clear the leftmost b bits of a register, then shift the register left
by n bits. This operation can be used to scale a (known non-negative) array index by
the width of an element.
Table 10.
Subtract immediate simplified mnemonics
Simplified mnemonic
Standard mnemonic
e_sub16i rD,rA,value
e_add16i rD,rA,–value
e_sub2i. rA,value
e_add2i. rA,–value
e_sub2is rA,value
e_add2is rA,–value
e_subi rD,rA,value
e_addi rD,rA,–value
e_subic rD,rA,value
e_addic rD,rA,–value
e_subic. rD,rA,value
e_addic. rD,rA,–value
Table 11.
Subtract simplified mnemonics
Simplified mnemonic
Standard mnemonic(1)
1.
rD,rB,rA is not the standard order for the operands. The order of rB and rA is reversed to show the
equivalent behavior of the simplified mnemonic.
sub[o][.] rD,rA,rB
subf[o][.] rD,rB,rA
subc[o][.] rD,rA,rB
subfc[o][.] rD,rB,rA



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