| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
PM0214 Datasheet(PDF) 89 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0214 Datasheet(HTML) 89 Page - STMicroelectronics |
|
89 / 245 page ![]() DocID022708 Rev 4 89/245 PM0214 The STM32 Cortex-M4 instruction set 244 Restrictions You can use SP and PC only in the MOV instruction, with the following restrictions: • The second operand must be a register without shift • You must not specify the S suffix When Rd is PC in a MOV instruction: • bit[0] of the value written to the PC is ignored • A branch occurs to the address created by forcing bit[0] of that value to 0. Note: Though it is possible to use MOV as a branch instruction, ARM strongly recommends the use of a BX or BLX instruction to branch for software portability to the ARM instruction set. Condition flags If S is specified, these instructions: • Update the N and Z flags according to the result • Can update the C flag during the calculation of operand2 (see Flexible second operand on page 59). • Do not affect the V flag Example MOVS R11, #0x000B ; write value of 0x000B to R11, flags get updated MOV R1, #0xFA05 ; write value of 0xFA05 to R1, flags not updated MOVS R10, R12 ; write value in R12 to R10, flags get updated MOV R3, #23 ; write value of 23 to R3 MOV R8, SP ; write value of stack pointer to R8 MVNS R2, #0xF ; write value of 0xFFFFFFF0 (bitwise inverse of 0xF) ; to the R2 and update flags |
|
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 |
| 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 |