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

X  

PM0214 Datasheet(PDF) 65 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) 65 Page - STMicroelectronics

Back Button PM0214 Datasheet HTML 61Page - STMicroelectronics PM0214 Datasheet HTML 62Page - STMicroelectronics PM0214 Datasheet HTML 63Page - STMicroelectronics PM0214 Datasheet HTML 64Page - STMicroelectronics PM0214 Datasheet HTML 65Page - STMicroelectronics PM0214 Datasheet HTML 66Page - STMicroelectronics PM0214 Datasheet HTML 67Page - STMicroelectronics PM0214 Datasheet HTML 68Page - STMicroelectronics PM0214 Datasheet HTML 69Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 245 page
background image
DocID022708 Rev 4
65/245
PM0214
The STM32 Cortex-M4 instruction set
244
Conditional execution is available by using conditional branches or by adding condition code
suffixes to instructions. See Table 24: Condition code suffixes on page 66 for a list of the
suffixes to add to instructions to make them conditional instructions. The condition code
suffix enables the processor to test a condition based on the flags. If the condition test of a
conditional instruction fails, the instruction:
•
Does not execute
•
Does not write any value to its destination register
•
Does not affect any of the flags
•
Does not generate any exception
Conditional instructions, except for conditional branches, must be inside an If-then
instruction block. See IT on page 144 for more information and restrictions when using the
IT instruction. Depending on the vendor, the assembler might automatically insert an IT
instruction if you have conditional instructions outside the IT block.
Use the CBZ and CBNZ instructions to compare the value of a register against zero and
branch on the result.
This section describes:
•
The condition flags
•
Condition code suffixes on page 66
The condition flags
The APSR contains the following condition flags:
•
N: Set to 1 when the result of the operation is negative, otherwise cleared to 0
•
Z: Set to 1 when the result of the operation is zero, otherwise cleared to 0
•
C: Set to 1 when the operation results in a carry, otherwise cleared to 0.
•
V: Set to 1 when the operation causes an overflow, otherwise cleared to 0.
For more information about the APSR see Program status register on page 18.
A carry occurs:
•
If the result of an addition is greater than or equal to 232
•
If the result of a subtraction is positive or zero
•
As the result of an inline barrel shifter operation in a move or logical instruction
Overflow occurs if the sign of a result does not match the sign of the result had the operation
been performed at infinite precision, for example:
•
if adding two negative values results in a positive value
•
if adding two positive values results in a negative value
•
if subtracting a positive value from a negative value generates a positive value
•
if subtracting a negative value from a positive value generates a negative value.
The Compare operations are identical to subtracting, for CMP, or adding, for CMN, except
that the result is discarded. See the instruction descriptions for more information.
Most instructions update the status flags only if the S suffix is specified. See the instruction
descriptions for more information.



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