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
5
6
4
5
DRk,#1data16
Dword reg with one-extended 16-bit
immediate data
5
6
4
5
Rm,dir8
Dir addr from byte reg
4
3
†
3
2
†
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.
Содержание 8XC251SA
Страница 2: ......
Страница 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Страница 18: ......
Страница 19: ...1 Guide to This Manual...
Страница 20: ......
Страница 30: ......
Страница 31: ...2 Architectural Overview...
Страница 32: ......
Страница 41: ...3 Address Spaces...
Страница 42: ......
Страница 63: ...4 Device Configuration...
Страница 64: ......
Страница 81: ...5 Programming...
Страница 82: ......
Страница 102: ......
Страница 103: ...6 Interrupt System...
Страница 104: ......
Страница 120: ......
Страница 121: ...7 Input Output Ports...
Страница 122: ......
Страница 132: ......
Страница 133: ...8 Timer Counters and Watchdog Timer...
Страница 134: ......
Страница 153: ...9 Programmable Counter Array...
Страница 154: ......
Страница 170: ......
Страница 171: ...10 Serial I O Port...
Страница 172: ......
Страница 187: ...11 Minimum Hardware Setup...
Страница 188: ......
Страница 197: ...12 Special Operating Modes...
Страница 198: ......
Страница 206: ......
Страница 207: ...13 External Memory Interface...
Страница 208: ......
Страница 239: ...14 Programming and Verifying Nonvolatile Memory...
Страница 240: ......
Страница 250: ......
Страница 251: ...A Instruction Set Reference...
Страница 252: ......
Страница 390: ......
Страница 391: ...B Signal Descriptions...
Страница 392: ......
Страница 400: ......
Страница 401: ...C Registers...
Страница 402: ......
Страница 436: ......
Страница 437: ...Glossary...
Страница 438: ......
Страница 446: ......
Страница 447: ...Index...
Страница 448: ......
Страница 458: ......