Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

PM0214 Datasheet(PDF) 71 Page - STMicroelectronics

No. de pieza PM0214
Descripción Electrónicos  This programming manual provides information
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0214 Datasheet(HTML) 71 Page - STMicroelectronics

Back Button PM0214 Datasheet HTML 67Page - STMicroelectronics PM0214 Datasheet HTML 68Page - STMicroelectronics PM0214 Datasheet HTML 69Page - STMicroelectronics PM0214 Datasheet HTML 70Page - STMicroelectronics PM0214 Datasheet HTML 71Page - STMicroelectronics PM0214 Datasheet HTML 72Page - STMicroelectronics PM0214 Datasheet HTML 73Page - STMicroelectronics PM0214 Datasheet HTML 74Page - STMicroelectronics PM0214 Datasheet HTML 75Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 245 page
background image
DocID022708 Rev 4
71/245
PM0214
The STM32 Cortex-M4 instruction set
244
Table 26 shows the range of offsets for immediate, pre-indexed and post-indexed forms.
Restrictions
•
For load instructions
–
Rt can be SP or PC for word loads only
–
Rt must be different from Rt2 for two-word loads
–
Rn must be different from Rt and Rt2 in the pre-indexed or post-indexed forms
•
When Rt is PC in a word load instruction
–
bit[0] of the loaded value must be 1 for correct execution
–
A branch occurs to the address created by changing bit[0] of the loaded value to 0
–
If the instruction is conditional, it must be the last instruction in the IT block
•
For store instructions
–
Rt can be SP for word stores only
–
Rt must not be PC
–
Rn must not be PC
–
Rn must be different from Rt and Rt2 in the pre-indexed or post-indexed forms
Condition flags
These instructions do not change the flags.
Examples
LDR R8, [R10]
; loads R8 from the address in R10.
LDRNE R2, [R5, #960]!; loads (conditionally) R2 from a word
; 960 bytes above the address in R5, and
; increments R5 by 960.
STR R2, [R9,#const-struc]; const-struc is an expression evaluating
; to a constant in the range 0-4095.
STRH R3, [R4], #4; Store R3 as halfword data into address in
; R4, then increment R4 by 4
LDRD R8, R9, [R3, #0x20]; Load R8 from a word 32 bytes above the
; address in R3, and load R9 from a word 36
; bytes above the address in R3
STRD R0, R1, [R8], #-16; Store R0 to address in R8, and store R1 to
; a word 4 bytes above the address in R8,
; and then decrement R8 by 16.
Table 26. Immediate, pre-indexed and post-indexed offset ranges
Instruction type
Immediate offset
Pre-indexed
Post-indexed
Word, halfword, signed
halfword, byte, or signed byte
-255 to 4095
-255 to 255
-255 to 255
Two words
Multiple of 4 in the
range -1020 to 1020
Multiple of 4 in the
range -1020 to 1020
Multiple of 4 in the
range -1020 to 1020



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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