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

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 and SBC Instruction Skip Conditions
The instructions 'ADC A,@HL' and 'SBC A,@HL' can generate a skip signal, and set or clear the carry flag, when
they are executed in combination with the instruction 'ADS A,#im'.
If an 'ADS A,#im' instruction immediately follows an 'ADC A,@HL' or 'SBC A,@HL' instruction in a program
sequence, the ADS instruction does not skip the instruction following ADS, even if it has a skip function. If, however,
an 'ADC A,@HL' or 'SBC A,@HL' instruction is immediately followed by an 'ADS A,#im' instruction, the ADC (or
SBC) skips on overflow (or if there is no borrow) to the instruction immediately following the ADS, and program
execution continues. Table 5-3 contains additional information and examples of the 'ADC A,@HL' and 'SBC A,@HL'
skip feature.
ADC A,@HL
SBC A,@HL
ADS A,#im
ADS A,#im
Instruction Sequences
xxx
xxx
xxx
xxx
Sample
1
2
3
4
1
2
3
4
Table 5-3. Skip Conditions for ADC and SBC Instructions
instruction 1 is:
If the result of
No overflow
No borrow
Overflow
Borrow
Then, the execution
sequence is:
1, 2, 3, 4
1, 2, 3, 4
1, 3, 4
1, 3, 4
ADS cannot skip
instruction 3, even if it
has a skip function.
ADS cannot skip
instruction 3, even if it
has a skip function.
SAM47 INSTRUCTION SET
Reason
5-5

Related parts for s3c72m9