PIC16C5X Instruction Set


CALL


Syntax : CALL k

Description : Subroutine call. First, return address (PC+1) is pushed into the stack.
              The eight bit value is loaded into PC bits <7:0>. PC bit 8 is cleared. 
              PA<2:0> bits are loaded into PC<11:9>. CALL is a two cycle instruction.

Function : PC+1 → TOS; k → PC<7:0>; '0' → PC <8>; PA2,PA1,PA0 → PC<11:9>.

Hex code : 9kk

Bit field:
1001 kkkk kkkk

Words : 1

Cycles : 2

Affected flags : None

See also :   RETLW
Previous    Upper level    Next