PIC17CXX Instruction Set


GOTO


Syntax : GOTO k

Description : Unconditional jump in 8K page. The low-order thirteen bits 
              come from the immediate value 'k'. The upper 3 bits of PC are loaded 
              from PCLATH<7:5>. GOTO is a two cycles instruction.

Function : k → PC<12:0>;    PC<15:13> → PCLATH<7:5>.

Hex code : Ckkk

Bit field:
110k kkkk kkkk kkkk

Words : 1

Cycles : 2

Affected flags : None

See also :   ---
Previous    Upper level    Next