| 数据搜索系统,热门电子元器件搜索 |
|
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 |
|
链接网址 |
| 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 |