A-47
INSTRUCTION SET REFERENCE
CMP WRj,#data16
Binary Mode Source Mode
Bytes: 54
States: 43
[Encoding]
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: CMP
(WRj) – #data16
CMP DRk,#0data16
Binary Mode Source Mode
Bytes: 54
States: 65
[Encoding]
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: CMP
(DRk) – #0data16
CMP DRk,#1data16
Binary Mode Source Mode
Bytes: 54
States: 65
[Encoding]
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: CMP
(DRk) – #1data16
CMP Rm,dir8
Binary Mode Source Mode
Bytes: 43
States: 3† 2†
†If this instruction addresses a port (P
x
,
x
= 0–3), add 1 state.
1 0 1 1 1 1 1 0 t t t t 0 1 0 0 #data hi #data low
1 0 1 1 1 1 1 0 u u u u 1 0 0 0 #data hi #data low
1 0 1 1 1 1 1 0 u u u u 1 1 0 0 #data hi #data hi