11 subroutine/stack control instructions, Calla !addr1, Call !addr – NEC PD754144 User Manual
Page 283
CHAPTER 11 INSTRUCTION SET
283
User’s Manual U10676EJ3V0UM
11.4.11 Subroutine/stack control instructions
CALLA !addr1
Function: (SP–2)
←
Ч, Ч, MBE, RBE, (SP–3)
←
PC
7-4
(SP–4)
←
PC
3-0
, (SP–5)
←
0, 0, 0, 0
(SP–6)
←
PC
11-8
PC
11-0
←
addr1, SP
←
SP – 6
CALL !addr
Function: [MkI mode]
(SP–1)
←
PC
7-4
, (SP–2)
←
PC
3-0
(SP–3)
←
MBE, RBE, 0, 0
(SP–4)
←
PC
11-8
, PC
11-0
←
addr, SP
←
SP – 4
addr = 0000H to 0FFFH
[MkII mode]
(SP–2)
←
Ч, Ч, MBE, RBE
(SP–3)
←
PC
7-4
, (SP–4)
←
PC
3-0
(SP–5)
←
0, 0, 0, 0, (SP–6)
←
PC
11-8
PC
11-0
←
addr, SP
←
SP–6
Saves the contents of the program counter (return address), MBE, and RBE to the data memory (stack) addressed
by the stack pointer (SP), decrements the SP, and then branches to an address specified by 12-bit immediate data
addr.
I/II
II