Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

ST20CX Scheda tecnica(PDF) 28 Page - STMicroelectronics

Il numero della parte ST20CX
Spiegazioni elettronici  Instruction Set Reference Manual
PDF  212 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20CX Scheda tecnica(HTML) 28 Page - STMicroelectronics

Back Button ST20CX Datasheet HTML 24Page - STMicroelectronics ST20CX Datasheet HTML 25Page - STMicroelectronics ST20CX Datasheet HTML 26Page - STMicroelectronics ST20CX Datasheet HTML 27Page - STMicroelectronics ST20CX Datasheet HTML 28Page - STMicroelectronics ST20CX Datasheet HTML 29Page - STMicroelectronics ST20CX Datasheet HTML 30Page - STMicroelectronics ST20CX Datasheet HTML 31Page - STMicroelectronics ST20CX Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 212 page
background image
®
28/212
the word-length of the processor.
• Thirdly, it enables any number of secondary instructions to be implemented.
The following provides some simple examples of encoding:
• The instruction ldc 17 is encoded with the sequence:
pfix 1; ldc 1
• The instruction add is encoded by:
opr 5
• The instruction and is encoded by:
opr 70
which is in turn encoded with the sequence:
pfix 4; opr 6
To aid clarity and brevity, prefix sequences and the use of
opr are not explicitly shown
in this guide. Each instruction is represented by a mnemonic, and for primary
instructions an item of data, which stands for the appropriate instruction component
sequence. Hence in the above examples, these are just shown as:
ldc 17, add, and
and. (Also, where appropriate, an expression may be placed in a code sequence to
represent the code needed to evaluate that expression.
4.2
Generating prefix sequences
Prefixing is intended to be performed by a compiler or assembler. Prefixing b y hand is
not advised.
Normally a value can be loaded into the instruction data value by a variety of different
prefix sequences . It is important to use the shortest possible sequence as this
enhances both code compaction and execution speed. The best method of optimizing
object code so as to minimize the number of prefix instructions needed is shown
below.
4.2.1
Prefixing a constant
The algorithm to generate a constant instruction data value
e for a function op is
described by the following recursive function.
prefix( op , e ) = IF
e
< 16 AND e 0
op( e )
e
16
prefix( pfix, e >> 4 ); op( e
∧ #F)
e
< 0
prefix( nfix, (~e) >> 4 ); op( e
∧ #F )
where
( op, e ) is the instruction component with function code op and data field
e, ~ is a bitwise NOT, and >> is a logical right shift.



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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