Intel Embedded Microcontroller Microscope & Magnifier User Manual


 
A-49
INSTRUCTION SET REFERENCE
CMP Rm,@WRj
Binary Mode Source Mode
Bytes: 43
States: 32
[Encoding]
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: CMP
(Rm) – ((WRj))
CMP Rm,@DRk
Binary Mode Source Mode
Bytes: 43
States: 43
[Encoding]
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:
Example: The accumulator contains 5CH (01011100B). After executing the instruction
CPL A
the accumulator contains 0A3H (10100011B).
Binary Mode Source Mode
Bytes: 11
States: 11
1 0 1 1 1 1 1 0 t t t t 1 0 0 1 s s s s 0 0 0 0
1 0 1 1 1 1 1 0 u u u u 1 0 1 1 s s s s 0 0 0 0
CY AC OV N Z
———✓✓
[Encoding] 1 1 1 1 0 1 0 0