PIC16CXX 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 : 34kk

Bit field:
11 01xx kkkk kkkk

Words : 1

Cycles : 2

Affected flags : None

See also :   CALL,   RETURN
Previous    Upper level    Next