| Electronic Components Datasheet Search |
|
PM0044 Datasheet(PDF) 81 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 Datasheet(HTML) 81 Page - STMicroelectronics |
|
81 / 162 page ![]() PM0044 STM8 instruction set Doc ID 13590 Rev 3 81/162 Syntax BCP A,src Operation {N, Z} <= A AND src Description The source byte, is ANDed to the contents of the accumulator. The result is lost but condition flags N and Z are updated accordingly. The source is a memory or data byte. This instruction can be used to perform bit tests on A. 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: CP, TNZ BCP Logical Bit Compare BCP mnem dst src Affected condition flags VI1 H I0 N Z C BCP A Mem --- - N Z - dst src Asm cy lgth Op-code(s) ST7 A #byte BCP A,#$55 1 2 A5 XX ✗ A shortmem BCP A,$10 1 2 B5 XX ✗ A longmem BCP A,$1000 1 3 C5 MS LS ✗ A (X) BCP A,(X) 1 1 F5 ✗ A (shortoff,X) BCP A,($10,X) 1 2 E5 XX ✗ A (longoff,X) BCP A,($1000,X) 1 3 D5 MS LS ✗ A (Y) BCP A,(Y) 1 2 90 F5 ✗ A (shortoff,Y) BCP A,($10,Y) 1 3 90 E5 XX ✗ A (longoff,Y) BCP A,($1000,Y) 1 4 90 D5 MS LS ✗ A (shortoff,SP) BCP A,($10,SP) 1 2 15 XX A [shortptr.w] BCP A,[$10.w] 4 3 92 C5 XX ✗ A [longptr.w] BCP A,[$1000.w] 4 4 72 C5 MS LS A ([shortptr.w],X) BCP A,([$10.w],X) 4 3 92 D5 XX ✗ A ([longptr.w],X) BCP A,([$1000.w],X) 4 4 72 D5 MS LS A ([shortptr.w],Y) BCP A,([$10.w],Y) 4 3 91 D5 XX ✗ |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |