| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 97 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 97 Page - STMicroelectronics |
|
97 / 162 page ![]() PM0044 STM8 instruction set Doc ID 13590 Rev 3 97/162 Syntax CPL dst e.g. CPL (X) Operation dst <= dst XOR FF, or FF - dst Description The destination byte is read, then each bit is toggled (inverted) and the result is written to the destination byte. The destination is either a memory byte or a register. This instruction is compact, and does not affect any registers when used with RAM variables. Instruction overview N ⇒ R7 Set if bit 7 of the result is set (negative value), cleared otherwise. Z ⇒R7.R6.R5.R4.R3.R2.R1.R0 Set if the result is zero (0x00), cleared otherwise. C ⇒ 1 Set. Detailed description See also: NEG, XOR, AND, OR CPL Logical 1’s Complement CPL mnem dst Affected condition flags VI1 H I0 N Z C CPL Mem -- -- N Z 1 CPL Reg -- -- N Z 1 dst Asm cy lgth Op-code(s) ST7 ACPL A 1 1 43 ✗ shortmem CPL$10 1 2 33 XX ✗ longmem CPL$1000 1 4 72 53 MS LS (X) CPL(X) 1 1 73 ✗ (shortoff.X) CPL($10,X) 1 2 63 XX ✗ (longoff,X) CPL($1000,X) 1 4 72 43 MS LS (Y) CPL(Y) 1 2 90 73 ✗ (shortoff,Y) CPL($10,Y) 1 3 90 63 XX ✗ (longoff,Y) CPL($1000,Y) 1 4 90 43 MS LS (shortoff,SP) CPL($10,SP) 1 2 03 XX ✗ [shortptr.w] CPL[$10] 4 3 92 33 XX ✗ [longptr.w] CPL[$1000].w 4 4 72 33 MS LS ([shortptr.w],X) CPL([$10],X) 4 3 92 63 XX ✗ ([longptr.w].X] CPL([$1000.w],X) 4 4 72 63 MS LS ([shortptr.w],Y) CPL([$10],Y) 4 3 91 63 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 |