Operation: | LCALL |
Function: | Long Call |
Syntax: | LCALL code addr |
Instructions | OpCode | Bytes | Cycles | Flags |
LCALL code addr | 0x12 | 3 | 2 | None |
Description: LCALL calls a program subroutine. LCALL increments the program counter by 3 (to point to the instruction following LCALL) and pushes that value onto the stack (low byte first, high byte second). The Program Counter is then set to the 16-bit value which follows the LCALL opcode, causing program execution to continue at that address.
See Also: ACALL, RET, Instruction Set