s3c72m9 Samsung Semiconductor, Inc., s3c72m9 Datasheet - Page 129

no-image

s3c72m9

Manufacturer Part Number
s3c72m9
Description
The S3c72m5/s3c72m7/s3c72m9 Single-chip Cmos Microcontroller Has Been Designed For High Performance Using Samsung S
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
ADC —
ADC
Examples:
(Continued)
3. If ADC A,@HL is followed by an ADS A,#im, the ADC skips on carry to the instruction
a. 8 + 9 decimal addition (the contents of the address specified by the HL register is 9H):
b. 3 + 4 decimal addition (the contents of the address specified by the HL register is 4H):
Add with Carry
immediately after the ADS. An ADS instruction immediately after the ADC does not skip
even if an overflow occurs. This function is useful for decimal adjustment operations.
RCF
LD
ADS
ADC
ADS
JPS
RCF
LD
ADS
ADC
ADS
JPS
A,#8H
A,#6H
A,@HL
A,#0AH
XXX
A,#3H
A,#6H
A,@HL
A,#0AH
XXX
; C
; A
; A
; A
; Skip this instruction because C = "1" after ADC result
; C
; A
; A
; A
; No skip. A
; (The skip function for 'ADS A,#im' is inhibited after an
; 'ADC A,@HL' instruction even if an overflow occurs.)
"0"
3H
3H + 6H = 9H
9H + 4H + C(0) = 0DH
"0"
8H
8H + 6H = 0EH
7H, C
0DH + 0AH = 7H
"1"
SAM47 INSTRUCTION SET
5-25

Related parts for s3c72m9