| 전자부품 데이터시트 검색엔진 |
|
PM0214 데이터시트(PDF) 143 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0214 데이터시트(HTML) 143 Page - STMicroelectronics |
|
143 / 245 page ![]() DocID022708 Rev 4 143/245 PM0214 The STM32 Cortex-M4 instruction set 244 3.9.6 CBZ and CBNZ Compare and branch on zero, compare and branch on non-zero. Syntax CBZ Rn, label CBNZ Rn, label where: • ‘Rn’ is the register holding the operand. • ‘label’ is the branch destination. Operation Use the CBZ or CBNZ instructions to avoid changing the condition code flags and to reduce the number of instructions. CBZ Rn, label does not change condition flags but is otherwise equivalent to: CMP Rn, #0 BEQ label CBNZ Rn, label does not change condition flags but is otherwise equivalent to: CMP Rn, #0 BNE label Restrictions The restrictions are: • Rn must be in the range of R0 to R7 • The branch destination must be within 4 to 130 bytes after the instruction • These instructions must not be used inside an IT block. Condition flags These instructions do not change the flags. Examples CBZ R5, target ; Forward branch if R5 is zero CBNZ R0, target ; Forward branch if R0 is not zero |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |