Electronic Components Datasheet Search
  English  ▼

X  

ST20-C1 Datasheet(PDF) 40 Page - STMicroelectronics

Part # ST20-C1
Description  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 Datasheet(HTML) 40 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 36Page - STMicroelectronics ST20-C1 Datasheet HTML 37Page - STMicroelectronics ST20-C1 Datasheet HTML 38Page - STMicroelectronics ST20-C1 Datasheet HTML 39Page - STMicroelectronics ST20-C1 Datasheet HTML 40Page - STMicroelectronics ST20-C1 Datasheet HTML 41Page - STMicroelectronics ST20-C1 Datasheet HTML 42Page - STMicroelectronics ST20-C1 Datasheet HTML 43Page - STMicroelectronics ST20-C1 Datasheet HTML 44Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 205 page
background image
4.4 Arithmetic
40/205
®
ldl Xhi; ldl Ylo; umac; stl Z1;
ldl Xhi; ldl Yhi; umac; rev; stl Z3;
ldc 0; rev; ldl Z2; addc; stl Z2;
ldl Z3; addc; stl Z3
This gives a quadruple length unsigned result
Z, where Z0 is the least significant and
Z3 the most significant word of Z.
4.4.6
Object length conversion
Object length conversion operations are provided by the instructions listed in Table
4.7.
Section 3.1 explains that data can be represented in data objects of various sizes.
This section describes the instructions that can be used to convert between these
representations.
Most of the ST20-C1 integer arithmetic instructions operate on signed integers held in
the evaluation stack registers as 32-bit objects, and produce results in this form.
Object length conversion is important for conversion of high level language data types.
The ST20-C1 therefore provides instructions that allow a byte or half-word signed
integer to be sign extended to 32-bits by copying the sign bit to all the bits that were
previously not significant, as sho wn in Figure 3.2. The sign extension is performed on
the value in the Areg and the result is placed in the Areg. The other registers are not
affected.
xbword extends a signed byte to a word by copying bit 7 into bits 8 to 31. xsword
extends a signed half-word to a word by copying bit 15 into bits 16 to 31.
lsxinc loads a sixteen bit value, sign extends it to 32 bits and increments the address
by two bytes. This is the same as:
lsinc; xsword;
Mnemonic
Name
xbword
sign extend byte to word
xsword
sign extend sixteen to word
Table 4.7 Object length conversion instructions



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