| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 79 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 79 Page - STMicroelectronics |
|
79 / 162 page ![]() PM0044 STM8 instruction set Doc ID 13590 Rev 3 79/162 Syntax AND A,src e.g. AND A,#%00110101 Operation A <= A AND src Description The source byte, is ANDed with the contents of the accumulator and the result is stored in the accumulator. The source is a memory or data byte. Truth table: 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. Detailed description See also: OR, XOR, CPL, NEG AND Logical AND AND AND 0 1 000 101 mnem dst src Affected condition flags VI1 H I0 N Z C AND A Mem - - - - N Z - dst src Asm cy lgth Op-code(s) ST7 A #byte AND A,#$55 1 2 A4 XX ✗ A shortmem AND A,$10 1 2 B4 XX ✗ A longmem AND A,$1000 1 3 C4 MS LS ✗ A (X) AND A,(X) 1 1 F4 ✗ A (shortoff,X) AND A,($10,X) 1 2 E4 XX ✗ A (longoff,X) AND A,($1000,X) 1 3 D4 MS LS ✗ A (Y) AND A,(Y) 1 2 90 F4 ✗ A (shortoff,Y) AND A,($10,Y) 1 3 90 E4 XX ✗ A (longoff,Y) AND A,($1000,Y) 1 4 90 D4 MS LS ✗ A (shortoff,SP) AND A,($10,SP) 1 2 14 XX A [shortptr.w] AND A,[$10.w] 4 3 92 C4 XX ✗ A [longptr.w] AND A,[$1000.w] 4 4 72 C4 MS LS A ([shortptr.w],X) AND A,([$10.w],X) 4 3 92 D4 XX ✗ A ([longptr.w],X) AND A,([$1000.w],X) 44 72 D4 MS LS A ([shortptr.w],Y) AND A,([$1000],Y) 4 3 91 D4 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 |