PIC16C5X Instruction Set


RETLW


Syntax : RETLW k

Description : Return from Subroutine. The W register is loaded with the eight bits
              literal 'k'. The program counter is loaded from the top of the stack 
              with the return address. This is a two cycles instruction.            
              

Function : k → W; TOS → PC;

Hex code : 8kk

Bit field:
1000 kkkk kkkk

Words : 1

Cycles : 2

Affected flags : None

See also :   CALL
Previous    Upper level    Next