![]() |
Electronic Components Datasheet Search |
|
S3C72G9 Datasheet(PDF) 83 Page - Samsung semiconductor |
|
|
S3C72G9 Datasheet(HTML) 83 Page - Samsung semiconductor |
83 / 96 page ![]() -4!+ !!" SBC dst,src Operation: Operand Operation Summary Bytes Cycles A,@HL Subtract indirect data memory from A with carry 1 1 EA,RR Subtract register pair (RR) from EA with carry 2 2 RRb,EA Subtract EA from register pair (RRb) with carry 2 2 Description: SBC subtracts the source and carry flag value from the destination operand, leaving the result in the destination. SBC sets the carry flag if a borrow is needed for the most significant bit; otherwise it clears the carry flag. The contents of the source are unaffected. If the carry flag was set before the SBC instruction was executed, a borrow was needed for the previous step in multiple precision subtraction. In this case, the carry bit is subtracted from the destination along with the source operand. Operand Binary Code Operation Notation A,@HL 0 0 1 1 1 1 0 0 C,A ← A - (HL) - C EA,RR 1 1 0 1 1 1 0 0 C, EA ← EA -RR - C 1 1 0 0 1 r2 r1 0 RRb,EA 1 1 0 1 1 1 0 0 C,RRb ← RRb - EA - C 1 1 0 0 0 r2 r1 0 Examples: 1. The extended accumulator contains the value 0C3H, register pair HL the value 0AAH, and the carry flag is set to "1": SCF ; C ← "1" SBC EA,HL ; EA ← 0C3H - 0AAH - 1H, C ← "0" JPS XXX ; Jump to XXX; no skip after SBC 2. If the extended accumulator contains the value 0C3H, register pair HL the value 0AAH, and the carry flag is cleared to "0": RCF ; C ← "0" SBC EA,HL ; EA ← 0C3H - 0AAH - 0H = 19H, C ← "0" JPS XXX ; Jump to XXX; no skip after SBC |
Similar Part No. - S3C72G9 |
|
Similar Description - S3C72G9 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |