参数资料
型号: ST20Cx
厂商: 意法半导体
英文描述: Instruction Set Reference Manual
中文描述: 指令集参考手册
文件页数: 2/212页
文件大小: 647K
代理商: ST20CX
第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页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页
10/212
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[]), and that
after the instruction if the
function is used with a prime (e.g. word
′[]).
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:
Areg
′← 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, e.g.
writing a byte at address 0 will modify the least significant byte of the word at address
0.
Reading and writing in this way cannot be used to access on-chip peripherals.
Reading or writing to memory addresses between
PeripheralStart and PeripheralEnd
will have undefined effects.
Data alignment
Each of these 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 and 64-bit objects must be word aligned, i.e. the 2 least significant
bits of the address must 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, words or double words depending on the data type being accessed. In
order to calculate the address of the data, the 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 in the particular units being used. So, for example, a word offset is
converted to a byte offset by multiplying it by the number of bytes in a word (4 in the
case of the ST20).
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
represent an address which is offset by
x words (4x bytes) from register. For example,
in the specification of
load non-local there is:
Areg
′← word[Areg @ n]
Here, Areg is loaded with the contents of the word that is n words from the address
pointed to by Areg (i.e. Areg
+ 4n).
In all cases, if the given base address has the correct alignment then any offset used
will also give a correctly aligned address.
相关PDF资料
PDF描述
ST223C04CCP0L 745 A, 400 V, SCR, TO-200AB
ST223C04CCP0 745 A, 400 V, SCR, TO-200AB
ST223C04CCP1L 745 A, 400 V, SCR, TO-200AB
ST223C04CCP1 745 A, 400 V, SCR, TO-200AB
ST223C04CCP2L 745 A, 400 V, SCR, TO-200AB
相关代理商/技术参数
参数描述
ST20GP1 制造商:未知厂家 制造商全称:未知厂家 功能描述:GPS PROCESSOR
ST20-GP1 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:GPS PROCESSOR
ST20GP1X33S 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:GPS PROCESSOR
ST20GP6 制造商:未知厂家 制造商全称:未知厂家 功能描述:GPS PROCESSOR
ST20-GP6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:GPS PROCESSOR