Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

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

Back Button ST20-C1 Datasheet HTML 6Page - STMicroelectronics ST20-C1 Datasheet HTML 7Page - STMicroelectronics ST20-C1 Datasheet HTML 8Page - STMicroelectronics ST20-C1 Datasheet HTML 9Page - STMicroelectronics ST20-C1 Datasheet HTML 10Page - STMicroelectronics ST20-C1 Datasheet HTML 11Page - STMicroelectronics ST20-C1 Datasheet HTML 12Page - STMicroelectronics ST20-C1 Datasheet HTML 13Page - STMicroelectronics ST20-C1 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 205 page
background image
2.2 Instruction definitions
10/205
®
represent addresses, signed or unsigned integers. Generally the arithmetic in signed.
In some cases it is clear from the context (e.g. from the operators used) whether a
particular object represents a signed or unsigned number. A subscripted label is
added (e.g. Areg
unsigned) to clarify where necessary.
2.2.5
Representing memory
The memory is represented by arrays of each data type. These are indexed by a value
representing a byte address. Access to the three data types is represented in the
instruction descriptions in the following way:
byte[
address]references a byte in memory at the given address
sixteen[
address]references a 16-bit half word in memory
word[
address]references a 32-bit word in memory
For all of these, the state of the machine referenced is that
before the instruction if the
function is used without a prime (e.g. word[
address]), and that after the instruction if
the function is used with a prime (e.g. word
′[address]).
For example, writing a value given by an expression,
expr, to the word in memory at
address
addr is represented by:
word
′[addr] ← expr
and reading a word from a memory location is achieved by:
register
′← word[addr]
Writing to memory in any of these ways will update the contents of memory, and these
updates will be consistently visible to the other representations of the memory. For
example, writing a byte at address 0 will modify the least significant byte of the word at
address 0.
Data alignment
Generally, word and half word data items have restrictions on their alignment in
memory. Byte values can be accessed at any byte address, i.e. they are byte aligned.
16-bit objects can only be accessed at even byte addresses, i.e. the least significant
bit of the address must be 0. 32-bit objects must be word aligned, i.e. the 2 least
significant bits of the address m ust be zero.
Address calculation
An address identifies a par ticular byte in memory. Addresses are frequently calculated
from a base address and an offset. For different instructions the offset may be given in
units of bytes or words depending on the data type being accessed. In order to
calculate the address of the data, a word offset must be converted to a byte offset
before being added to the base address. This is done by multiplying the offset by the
number of bytes per word, i.e. 4.
As there are many accesses to memory at word offsets, a shorthand notation is used
to represent the calculation of a word address. The notation
register @ x is used to



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