Samsung KS57C2308 Manual page 122

Single-chip cmos microcontroller
Table of Contents

Advertisement

SAM47 INSTRUCTION SET
COM
— Complement Accumulator
COM
A
Operation:
Operand
A
Description:
The accumulator value is complemented; if the bit value of A is "1", it is changed to "0" and vice
versa.
Operand
A
Example:
If the accumulator contains the value 4H (0100B), the instruction
COM
leaves the value 0BH (1011B) in the accumulator.
5-48
Complement accumulator (A)
Binary Code
1
1
0
0
0
1
A
Operation Summary
1
1
1
0
1
1
1
1
KS57C2308/P2308/C2316/P2316
Bytes
2
Operation Notation
1
A
A
1
Cycles
2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents