| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
PM0044 Datasheet(PDF) 141 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 Datasheet(HTML) 141 Page - STMicroelectronics |
|
141 / 162 page ![]() PM0044 STM8 instruction set Doc ID 13590 Rev 3 141/162 Syntax SBC A,src e.g. SBC A,#$15 Operation A <= A- src - C Description The source byte, along with the carry flag, is subtracted from the contents of the accumulator and the result is stored in the accumulator. The source is a memory or data byte. Instruction overview V ⇒ (A7.M7 + A7.R7 + A7.M7.R7) ⊕ (A6.M6 + A6.R6 + A6.M6.R6) Set if the signed subtraction generates an overflow, cleared otherwise. 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 ⇒ A7.M7 + A7.R7 + A7.M7.R7 Set if a borrow request occurred from bit 7 of the result, cleared otherwise. Detailed description See also: ADD,ADC,SUB, MUL SBC Subtraction with Carry/Borrow SBC mnem dst src Affected condition flags VI1 H I0 N Z C SBC A Mem V - - - N Z C dst src Asm cy lgth Op-code(s) ST7 A #byte SBC A,#$55 1 2 A2 XX ✗ A shortmem SBC A,$10 1 2 B2 XX ✗ A longmem SBC A,$1000 1 3 C2 MS LS ✗ A (X) SBC A,(X) 1 1 F2 ✗ A (shortoff,X) SBC A,($10,X) 1 2 E2 XX ✗ A (longoff,X) SBC A,($1000,X) 1 3 D2 MS LS ✗ A (Y) SBC A,(Y) 1 2 90 F2 ✗ A (shortoff,Y) SBC A,($10,Y) 1 3 90 E2 XX ✗ A (longoff,Y) SBC A,($1000,Y) 1 4 90 D2 MS LS ✗ A (shortoff,SP) SBC A,($10,SP) 1 2 12 XX A [shortptr.w] SBC A,[$10.w] 4 3 92 C2 XX ✗ A [longptr.w] SBC A,[$1000.w] 4 4 72 C2 MS LS A ([shortptr.w],X) SBC A,([$10.w],X) 43 92 D2 XX ✗ A ([longptr.w],X) SBC A,([$1000.w],X) 4 4 72 D2 MS LS A ([shortptr.w],Y) SBC A,([$10.w],Y) 43 91 D2 XX ✗ |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |