Intel 8XC251SA User Manual page 301

Embedded microcontroller
Hide thumbs Also See for 8XC251SA:
Table of Contents

Advertisement

CMP Rm,@WRj
Binary Mode
Bytes:
States:
[Encoding]
1 0 1 1
1 1 1 0
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation:
CMP
(Rm) – ((WRj))
CMP Rm,@DRk
Binary Mode
Bytes:
States:
[Encoding]
1 0 1 1
1 1 1 0
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation:
CMP
(Rm) – ((DRk))
CPL A
Function:
Complement accumulator
Description:
Logically complements (Ø) each bit of the accumulator (one's complement). Clear bits are
set and set bits are cleared.
Flags:
CY
Example:
The accumulator contains 5CH (01011100B). After executing the instruction
CPL A
the accumulator contains 0A3H (10100011B).
Binary Mode
Bytes:
States:
[Encoding]
1 1 1 1
Source Mode
4
3
3
2
t t t t
Source Mode
4
3
4
3
u u u u
AC
Source Mode
1
1
1
1
0 1 0 0
INSTRUCTION SET REFERENCE
1 0 0 1
s s s s
1 0 1 1
s s s s
OV
N
0 0 0 0
0 0 0 0
Z
A-49

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc251sb8xc251sp8xc251sq

Table of Contents