Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

ST20-C1 Arkusz danych(PDF) 17 Page - STMicroelectronics

Numer części ST20-C1
Szczegółowy opis  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 Arkusz danych(HTML) 17 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 13Page - STMicroelectronics ST20-C1 Datasheet HTML 14Page - STMicroelectronics ST20-C1 Datasheet HTML 15Page - STMicroelectronics ST20-C1 Datasheet HTML 16Page - STMicroelectronics ST20-C1 Datasheet HTML 17Page - STMicroelectronics ST20-C1 Datasheet HTML 18Page - STMicroelectronics ST20-C1 Datasheet HTML 19Page - STMicroelectronics ST20-C1 Datasheet HTML 20Page - STMicroelectronics ST20-C1 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 205 page
background image
17/205
3 Architecture
®
Figure 3.1 Bytes and bits in words
For example, the most significant bit of a word is bit 31, and the most significant byte is
byte 3, consisting of bits 24 to 31. This ordering is compatible with Intel processors,
but not Motorola or SPARC.
For compatibility with other devices, a
swap32 instruction is provided to reverse the
order of bytes within a word.
3.1.2
Signed integers and sign extension
A signed object is stored in twos-complement format. A signed value may be repre-
sented by an object of any size. Most commonly a signed integer is represented by a
single word, but as explained, it may be stored, for example, in a 64-bit object, a 16-bit
object, or an 8-bit object. In each of these formats, all the bits within the object contain
useful information.
The length of the object that stores a signed value can be increased, so that the object
size is increased without changing the value that is represented. This operation is
known as
sign extension. All the extra bits that are allocated for the larger object, are
meaningful to the value of the signed integer; they must therefore be set to the appro-
priate value. The value for all these extra bits is the same as the value of the most
significant bit - i.e. the sign bit - of the smaller object. The ST20-C1 provides instruc-
tions that sign extend byte and half-word objects to words.
The example shown in Figure 3.2 shows how the value -10 is stored in a 32-bit
register, either as an 8-bit object or as a 32-bit object. In this case, bits 31 to 8 are
meaningful for the 32-bit object but not for the 8-bit object. These bits are set to 1 in
the 32-bit object.
3
21
0
Bytes in a word
Most
significant
Least
significant
Bits in a word
Most
significant
Least
significant
31
0



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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