DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT80251G2D-3CSUM(2006) View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
AT80251G2D-3CSUM
(Rev.:2006)
Atmel
Atmel Corporation 
AT80251G2D-3CSUM Datasheet PDF : 77 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
AT/TSC8x251G2D
Table 32. Summary of Call and Return Instructions
Absolute callACALL <src>(PC) (PC) +2; push (PC)15:0;
(PC)10:0 src opnd
Extended callECALL <src>(PC) (PC) + size (instr); push (PC)23:0;
(PC)23:0 src opnd
Long callLCALL <src>(PC) (PC) + size (instr); push (PC)15:0;
(PC)15:0 src opnd
Return from subroutineRETpop (PC)15:0
Extended return from subroutineERETpop (PC)23:0
Return from interruptRETIIF [INTR = 0] THEN pop (PC)15:0
IF [INTR = 1] THEN pop (PC)23:0; pop (PSW1)
Trap interruptTRAP(PC) (PC) + size (instr);
IF [INTR = 0] THEN push (PC)15:0
IF [INTR = 1] THEN push (PSW1); push (PC)23:0
<dest>,
Mnemonic <src>(1)
Comments
Binary Mode
Bytes States
Source Mode
Bytes States
ACALL
addr11
Absolute subroutine call
2
9(2)(3)
2
9(2)(3)
ECALL
at DRk
addr24
Extended subroutine call (indirect)
Extended subroutine call
3
14(2)(3)
2
13(2)(3)
5
14(2)(3)
4
13(2)(3)
LCALL
at WRj
addr16
Long subroutine call (indirect)
Long subroutine call
3
10(2)(3)
2
9(2)(3)
3
9(2)(3)
3
9(2)(3)
RET
Return from subroutine
1
7(2)
1
7(2)
ERET
Extended subroutine return
3
9(2)
2
8(2)
RETI
Return from interrupt
1
7(2)(4)
1
7(2)(4)
TRAP
Jump to the trap interrupt vector
2
12(4)
1
11(4)
Notes:
1. A shaded cell denotes an instruction in the C51 Architecture.
2. In internal execution only, add 1 to the number of states if the destination/return
address is internal and odd.
3. Add 2 to the number of states if the destination address is external.
4. Add 5 to the number of states if INTR = 1.
39
4135F–8051–11/06

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]