B if ConditionPassed(cond) then EncodingSpecificOperations(PC, lable); BranchWritePC(PC + imm32); } // All versions of the Thumb instruction set T1 : B T2 : B // All versions of the Thumb instruction set from Thumb-2 onwards. T3 : B T4 : B Specifies the label of the instruction that is to be branched to. The assembler calculates the required value of the offset Allowed offsets are even numbers in the range T1 : -256 to 254 : imm8 T2 : -2048 to 2046 : imm11 T3 : -1048576 to 1048574 : imm6 + imm11 T4 : -16777216 to 16777214 : imm10 + imm11 BX -- Branch and Exchange causes a branch to an address and instruction set specified by a register. T1 : BX BLX (register) -- Branch and Exchange calls a subroutine at an address and instruction set specified by a register. T1 : BLX BL, BLX (immediate) -- Branch with Link (immediate) calls a subroutine at a PC-relative address. T1 : BL
{
from the PC value of the B instruction to this label,
then selects an encoding that will set imm32 to that offset.
Previous article:Cortex-M3 and Cortex-M4 Memory Organization
Next article:IAR cortex-M3 + ucos-III problem set
Recommended ReadingLatest update time:2024-11-15 16:39
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Several major wireless technologies
- AD test of Qinheng CH583
- What problems will 485 bus level mismatch cause?
- Please tell me a formula in LM5118
- What is the purpose of grounding VCC5V by jumper?
- Thank you for your inquiry about maxim max14912
- 【Competition sharing】1. Getting started with the development board
- What is the difference between 8550 and 9012?
- Homemade BSL programming MSP430 microcontroller
- How to modify the video recorder startup screen