Electronic Components Datasheet Search
  English  ▼

X  

ST20-C1 Datasheet(PDF) 26 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) 26 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 22Page - STMicroelectronics ST20-C1 Datasheet HTML 23Page - STMicroelectronics ST20-C1 Datasheet HTML 24Page - STMicroelectronics ST20-C1 Datasheet HTML 25Page - STMicroelectronics ST20-C1 Datasheet HTML 26Page - STMicroelectronics ST20-C1 Datasheet HTML 27Page - STMicroelectronics ST20-C1 Datasheet HTML 28Page - STMicroelectronics ST20-C1 Datasheet HTML 29Page - STMicroelectronics ST20-C1 Datasheet HTML 30Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 205 page
background image
3.4 Instruction encoding
26/205
®
One or more prefixing components may be needed to create the full instruction data
value. The prefixes are shown in Table 3.4 and explained below.
All instruction components initially load the four data bits into the least significant four
bits of the instruction data value.
pfix loads its four data bits into the instruction data value, and then shifts this value up
four places. Consequently, a sequence of one or more prefixes can be used to extend
the data value of the following instruction to any positive value. Instruction data values
in the range 16 to 255 can be represented using one
pfix.
nfix is similar, except that it complements all 32 bits of the instruction data value before
shifting it up, thus changing the sign of the instruction data value. Consequently, a
sequence of one or more
pfixes with one nfix can be used to extend the data value of
a following instruction to any negative value. Instruction data values in the range -256
to -1 can be represented using one
nfix.
When the processor encounters an instruction component other than
pfix or nfix,it
loads the 4-bit data field into the instruction data value. The instruction encoding is
now complete and the instruction can be executed. The instruction data value is then
cleared so that the processor is ready to fetch the next instruction component, by
building a new instruction data value.
For example, to load the constant 0x11, the instruction
ldc 0x11 is encoded with the
sequence:
pfix 1; ldc 1
The instruction
ldc 0x2A68 is encoded with the sequence:
pfix 2; pfix A; pfix 6; ldc 8
The instruction
ldc -1 is encoded with the sequence:
nfix 0; ldc F
3.4.3
Primary Instructions
Research has shown that computers spend most time executing a small number of
instructions such as:
• instructions to load and store from a small number of ‘local’ variables;
• instructions to add and compare with small constants; and
• instructions to jump to or call other parts of the program.
For efficiency, in the ST20 these are encoded directly as primary instructions using
the function field of an instruction component.
Thirteen of the instruction components are used to encode the most important opera-
tions performed by any computer executing a high level language. These are used (in
conjunction with zero or more prefixes) to implement the primary instructions. Primary
instructions interpret the instruction data value as an operand for the instruction. The
mnemonic for a primary instruction always includes this operand, shown in this
manual as
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 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