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

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)
CPSE —
CPSE
Operation:
Description:
Example:
dst,src
CPSE compares the source operand (subtracts it from) the destination operand, and skips the next
instruction if the values are equal. Neither operand is affected by the comparison.
The extended accumulator contains the value 34H and register pair HL contains 56H. The second
instruction (RET) in the instruction sequence
CPSE
RET
is not skipped. That is, the subroutine returns since the result of the comparison is 'not equal'.
Compare and Skip if Equal
Operand
@HL,#im
Operand
@HL,#im
EA,@HL
EA,@HL
A,@HL
EA,RR
A,@HL
EA,RR
R,#im
R,#im
A,R
A,R
EA,HL
Compare and skip if register equals #im
Compare and skip if indirect data memory equals #im
Compare and skip if A equals R
Compare and skip if A equals indirect data memory
Compare and skip if EA equals indirect data memory
Compare and skip if EA equals RR
d3
1
1
0
1
0
0
1
0
1
1
d2
1
1
1
1
1
0
1
0
1
1
d1
0
0
1
0
1
1
0
0
0
1
Binary Code
Operation Summary
d0
1
1
1
1
0
1
1
0
1
0
d3
1
0
1
1
1
1
1
1
1
1
d2
r2
r2
r2
0
1
1
0
1
0
1
d1
r1
r1
r1
0
0
0
0
0
0
0
d0
r0
r0
1
1
1
0
0
1
0
0
Skip if R = im
Skip if (HL) = im
Skip if A = R
Skip if A = (HL)
Skip if A = (HL), E = (HL+1)
Skip if EA = RR
Operation Notation
SAM47 INSTRUCTION SET
Bytes
2
2
2
1
2
2
Cycles
2 + S
2 + S
2 + S
1 + S
2 + S
2 + S
5-49

Related parts for s3c72m9