8XC251SA, SB, SP, SQ USER’S MANUAL
A-24
Table A-27. Summary of Control Instructions
Mnemonic
<dest>,<src>
Notes
Binary Mode
Source Mode
Bytes
Bytes
States (2)
ACALL
addr11
Absolute subroutine call
2
9
2
9
ECALL
@DRk
Extended subroutine call, indirect
3
12
2
11
addr24
Extended subroutine call
5
14
4
13
LCALL
@WRj
Long subroutine call, indirect
3
9
2
8
addr16
Long subroutine call
3
9
3
9
RET
Return from subroutine
1
6
1
6
ERET
Extended subroutine return
3
10
2
9
RETI
Return from interrupt
1
6
1
6
AJMP
addr11
Absolute jump
2
3
2
3
EJMP
addr24
Extended jump
5
6
4
5
@DRk
Extended jump, indirect
3
7
2
6
LJMP
@WRj
Long jump, indirect
3
6
2
5
addr16
Long jump
3
4
3
4
SJMP
rel
Short jump (relative addr)
2
3
2
3
JMP
@A+DPTR
Jump indir relative to the DPTR
1
5
1
5
JC
rel
Jump if carry is set
2
1/4
2
1/4
JNC
rel
Jump if carry not set
2
1/4
2
1/4
JB
bit51,rel
Jump if dir bit is set
3
2/5
3
2/5
bit,rel
Jump if dir bit of 8-bit addr location
is set
5
4/7
4
3/6
JNB
bit51,rel
Jump if dir bit is not set
3
2/5
3
2/5
bit,rel
Jump if dir bit of 8-bit addr location
is not set
5
4/7
4
3/6
JBC
bit51,rel
Jump if dir bit is set & clear bit
3
4/7
3
4/7
bit,rel
Jump if dir bit of 8-bit addr location
is set and clear bit
5
7/10
4
6/9
JZ
rel
Jump if acc is zero
2
2/5
2
2/5
JNZ
rel
Jump if acc is not zero
2
2/5
2
2/5
JE
rel
Jump if equal
3
2/5
2
1/4
JNE
rel
Jump if not equal
3
2/5
2
1/4
JG
rel
Jump if greater than
3
2/5
2
1/4
JLE
rel
Jump if less than or equal
3
2/5
2
1/4
JSL
rel
Jump if less than (signed)
3
2/5
2
1/4
NOTES:
1.
A shaded cell denotes an instruction in the MCS
®
51 architecture.
2.
For conditional jumps, times are given as not-taken/taken.
Summary of Contents for 8XC251SA
Page 2: ......
Page 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Page 18: ......
Page 19: ...1 Guide to This Manual...
Page 20: ......
Page 30: ......
Page 31: ...2 Architectural Overview...
Page 32: ......
Page 41: ...3 Address Spaces...
Page 42: ......
Page 63: ...4 Device Configuration...
Page 64: ......
Page 81: ...5 Programming...
Page 82: ......
Page 102: ......
Page 103: ...6 Interrupt System...
Page 104: ......
Page 120: ......
Page 121: ...7 Input Output Ports...
Page 122: ......
Page 132: ......
Page 133: ...8 Timer Counters and Watchdog Timer...
Page 134: ......
Page 153: ...9 Programmable Counter Array...
Page 154: ......
Page 170: ......
Page 171: ...10 Serial I O Port...
Page 172: ......
Page 187: ...11 Minimum Hardware Setup...
Page 188: ......
Page 197: ...12 Special Operating Modes...
Page 198: ......
Page 206: ......
Page 207: ...13 External Memory Interface...
Page 208: ......
Page 239: ...14 Programming and Verifying Nonvolatile Memory...
Page 240: ......
Page 250: ......
Page 251: ...A Instruction Set Reference...
Page 252: ......
Page 390: ......
Page 391: ...B Signal Descriptions...
Page 392: ......
Page 400: ......
Page 401: ...C Registers...
Page 402: ......
Page 436: ......
Page 437: ...Glossary...
Page 438: ......
Page 446: ......
Page 447: ...Index...
Page 448: ......
Page 458: ......