PIC16CXX Instruction Set


GOTO


Syntax : GOTO k

Description : Unconditional jump. The low-order eleven bits come from the
              immediate value 'k'. The upper bits of PC are loaded from
              PCLATH<4:3>. GOTO is a two cycles instruction.

Function : k → PC<10:0>; PCLATH<4:3> → PC<12:11>.

Hex code : 2kkk

Bit field:
10 1kkk kkkk kkkk

Words : 1

Cycles : 2

Affected flags : None

See also :   ---
Previous    Upper level    Next