SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 177

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Encoding:
Bytes:
Cycles:
ACALL
Function:
Description:
Example:
Operation:
Semiconductor Group
addr11
Absolute call
ACALL unconditionally calls a subroutine located at the indicated address. The
instruction increments the PC twice to obtain the address of the following
instruction, then pushes the 16-bit result onto the stack (low-order byte first) and
increments the stack pointer twice. The destination address is obtained by
successively concatenating the five high-order bits of the incremented PC, op code
bits 7-5, and the second byte of the instruction. The subroutine called must
therefore start within the same 2K block of program memory as the first byte of the
instruction following ACALL. No flags are affected.
Initially SP equals 07 H . The label ”SUBRTN” is at program memory location 0345 H .
After executing the instruction
ACALL
at location 0123 H , SP will contain 09 H , internal RAM location 08 H and 09 H will
contain 25 H and 01 H , respectively, and the PC will contain 0345 H .
ACALL
(PC)
(SP)
((SP))
(SP)
((SP))
(PC10-0)
2
2
a10 a9 a8 1
(SP) + 1
(SP) + 1
(PC) + 2
(PC7-0)
(PC15-8)
SUBRTN
page address
0 0 0 1
178
a7 a6 a5 a4
a3 a2 a1 a0
Instruction Set

Related parts for SAB80C517-M16