tsc251g1dxxx-l12ced ATMEL Corporation, tsc251g1dxxx-l12ced Datasheet - Page 39

no-image

tsc251g1dxxx-l12ced

Manufacturer Part Number
tsc251g1dxxx-l12ced
Description
8/16-bit Microcontroller With Serial Communication Interfaces - 32kbytes Rom
Manufacturer
ATMEL Corporation
Datasheet
4135F–8051–11/06
Table 32. Summary of Call and Return Instructions
Notes:
Absolute callACALL <src>(PC) ← (PC) +2; push (PC)
Extended callECALL <src>(PC) ← (PC) + size (instr); push (PC)
Long callLCALL <src>(PC) ← (PC) + size (instr); push (PC)
Return from subroutineRETpop (PC)
Extended return from subroutineERETpop (PC)
Return from interruptRETIIF [INTR = 0] THEN pop (PC)
Trap interruptTRAP(PC) ← (PC) + size (instr);
Mnemonic
ACALL
ECALL
LCALL
RET
ERET
RETI
TRAP
(PC)
(PC)
(PC)
IF [INTR = 1] THEN pop (PC)
IF [INTR = 0] THEN push (PC)
IF [INTR = 1] THEN push (PSW1); push (PC)
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
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.
10:0
23:0
15:0
← src opnd
← src opnd
← src opnd
address is internal and odd.
<dest>,
<src>
addr11
at DRk
addr24
at WRj
addr16
(1)
Comments
Absolute subroutine call
Extended subroutine call (indirect)
Extended subroutine call
Long subroutine call (indirect)
Long subroutine call
Return from subroutine
Extended subroutine return
Return from interrupt
Jump to the trap interrupt vector
23:0
15:0
15:0
; pop (PSW1)
23:0
23:0
15:0
15:0
;
15:0
;
23:0
AT/TSC8x251G2D
;
Bytes
Binary Mode
2
3
5
3
3
1
3
1
2
States
14
14
10
9
9
7
12
7
9
(2)(3)
(2)(3)
(2)(4)
(2)(3)
(2)(3)
(2)(3)
(2)
(2)
(4)
Bytes
Source Mode
2
2
4
2
3
1
2
1
1
States
13
13
9
9
9
7
11
7
8
(2)(3)
(2)(3)
(2)(3)
(2)(4)
(2)(3)
(2)(3)
(2)
(2)
(4)
39

Related parts for tsc251g1dxxx-l12ced