| 전자부품 데이터시트 검색엔진 |
|
PM0044 데이터시트(PDF) 87 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 데이터시트(HTML) 87 Page - STMicroelectronics |
|
87 / 162 page ![]() PM0044 STM8 instruction set Doc ID 13590 Rev 3 87/162 Syntax BTJT dst,#pos,rel pos = [0..7], rel is relative jump label e.g.: BTJT PADR,#7,skip Operation PC = PC+lgth PC = PC + rel IF (dst AND (2**pos)) <> 0 Description Read the destination byte, test the corresponding bit (bit position), and jump to 'rel' label if the bit is true (1), else continue the program to the next instruction. The tested bit is saved in the C flag. The destination is a memory byte. The bit position is a constant. The jump label represents a signed offset to be added to the current PC/instruction address (relative jump). This instruction is used for boolean variable manipulation, hardware register flag tests, or I/O polling. Instruction overview C ⇒ Tested bit is saved in the C flag. Detailed description See also: BTJF BTJT Bit Test and Jump if True BTJT mnem dst bit position jump label Affected condition flags VI1 H I0 N Z C BTJT Mem #pos rel - ----- C dst pos = 0..7 Asm cy lgth Op-code(s) ST7 longmem n= 2*pos BTJT $1000,#1,loop 2/3 5 72 0n MS LS XX |
|
링크 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 |