Intel 8XC251SQ Microscope & Magnifier User Manual


 
A-15
INSTRUCTION SET REFERENCE
Table A-20. Summary of Compare Instructions
Compare CMP <dest>,<src> dest opnd – src opnd
Mnemonic <dest>,<src> Notes
Binary Mode Source Mode
Bytes States Bytes States
CMP
Rmd,Rms Reg with reg 3 2 2 1
WRjd,WRjs Word reg with word reg 3 3 2 2
DRkd,DRks Dword reg with dword reg 3 5 2 4
Rm,#data Reg with immediate data 4 3 3 2
WRj,#data16 Word reg with immediate 16-bit data 5 4 4 3
DRk,#0data16 Dword reg with zero-extended 16-bit
immediate data
5645
DRk,#1data16 Dword reg with one-extended 16-bit
immediate data
5645
Rm,dir8 Dir addr from byte reg 4 3
32
WRj,dir8 Dir addr from word reg 4 4 3 3
Rm,dir16 Dir addr (64K) from byte reg 5 3 4 2
WRj,dir16 Dir addr (64K) from word reg 5 4 4 3
Rm,@WRj Indir addr (64K) from byte reg 4 3 3 2
Rm,@DRk Indir addr (16M) from byte reg 4 4 3 3
If this instruction addresses an I/O port (P
x
,
x
= 3:0), add 1 to the number of states.