1. Arm instruction condition codes and condition mnemonics
2. Jump instruction B
1. Function
Jump instruction B causes the program to jump to the specified address to execute the program (the jump range is PC-32MB to PC+32MB)
2. Instruction format (Note: If there is a condition after B, the condition is immediately after B, without a space)
B{ 3. Parameter Description 3.1, 3.2, A. Extend the 24-bit signed complement immediate value to 32 bits B. Shift the expanded 32-bit immediate value left by two bits C. Add the obtained value to the PC register to get the jump target address 3. Jump instruction BL with connection 1. Function The jump instruction with connection BL copies the address of the next instruction to the r14 (i.e. return address connection register LR) register, and then jumps to the specified address to run the program. 2. Syntax format BL{ 3. Parameter description is the same as instruction B 4. Jump instruction BX with state switching 1. Function Make the program jump to the address specified by the parameter Rm specified in the instruction to execute the program 2. Syntax format BX{ 3. Parameter Description 5. Connection jump instruction BLX with state switching 1. Function Used to make the program jump to Thumb state or return from Thumb state. This instruction is an unconditional execution instruction, and uses the lowest bit of the branch register to update the T bit in CPSR and write the return address to the link register LR. 2. Syntax format BLX{ 3. Parameter Description A. Sign-extend the 24-bit offset specified by the instruction to form a 32-bit immediate value B. Shift the result left by two places C. Add bit H (bit [24]) to the first bit of the result address (bit [1]) D. Add the result to the program counter PC
Previous article:ARM Study Notes 3 - Data Processing Instructions
Next article:ARM Study Notes 1——The relationship between Arm registers and modes
Recommended ReadingLatest update time:2024-11-22 13:56
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- STMicroelectronics IO-Link Actuator Board Brings Turnkey Reference Design to Industrial Monitoring and Equipment Manufacturers
- Melexis uses coreless technology to reduce the size of current sensing devices
- Infineon SiC Product Catalog
- Another new board has arrived~~Jiefa AC7801X motor demo board is here, and the evaluation activity will be online soon...
- CY8CKIT-149 PSoC 4100S Review (1)
- STM32F765@216MHz running NES emulator [code] [video]
- Which expert can help me solve the volume control problem of the digital-analog chip WM8766G?
- Please help me find out what this part is. I have asked many people but they can't figure it out.
- Please recommend a LED driver IC
- Recommend! Good domestic chips you have used
- I heard someone bought a fake chip? I'm doubting myself after adjusting the fake chip
- Warm congratulations to the Chinese men's football team for drawing with the powerful Philippines