Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

PM0223 Fiches technique(PDF) 66 Page - STMicroelectronics

No de pièce PM0223
Description  This programming manual provides information for application and system-level software developers
PDF  110 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0223 Fiches technique(HTML) 66 Page - STMicroelectronics

Back Button PM0223 Datasheet HTML 62Page - STMicroelectronics PM0223 Datasheet HTML 63Page - STMicroelectronics PM0223 Datasheet HTML 64Page - STMicroelectronics PM0223 Datasheet HTML 65Page - STMicroelectronics PM0223 Datasheet HTML 66Page - STMicroelectronics PM0223 Datasheet HTML 67Page - STMicroelectronics PM0223 Datasheet HTML 68Page - STMicroelectronics PM0223 Datasheet HTML 69Page - STMicroelectronics PM0223 Datasheet HTML 70Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 110 page
background image
The STM32L0 Cortex-M0+ Instruction Set
PM0223
66/110
DocID025763 Rev 1
3.6.1
B, BL, BX, and BLX
Branch instructions.
Syntax
B{cond} label
BL label
BX Rm
BLX Rm
where:
Operation
All these instructions cause a branch to the address indicated by label or contained in the
register specified by Rm. In addition:
the BL and BLX instructions write the address of the next instruction to LR, the link
register R14.
the BX and BLX instructions result in a HardFault exception if bit[0] of Rm is 0.
BL
and BLX instructions also set bit[0] of the LR to 1. This ensures that the value is suitable
for use by a subsequent POP {PC} or BX instruction to perform a successful return branch.
Table 23 shows the ranges for the various branch instructions
.
Restrictions
In these instructions:
Do not use SP or PC in the BX or BLX instruction.
For BX and BLX, bit[0] of Rm must be 1 for correct execution. Bit[0] is used to update the
EPSR T-bit and is discarded from the target address.
Note:
B
cond
is the only conditional instruction on the STM32L0 Cortex-M0+ processor.
Cond
Is an optional condition code, see 3.3.6: Conditional execution on page 43.
label
Is a PC-relative expression. See 3.3.5: PC-relative expressions on page 42.
Rm
Is a register providing the address to branch to.
Table 23. Branch ranges
Instruction
Branch range
B label
−2 KB to +2 KB.
B
cond label
−256 bytes to +254 bytes.
BL label
−16 MB to +16 MB.
BX Rm
Any value in register.
BLX Rm
Any value in register.



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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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