JMP

NOTE: These items have been discontinued for a long time.
We no longer support these products or offer alternatives.

We retain these pages so that users can see what their existing tools support and to provide download links to the final documentation and software versions. We have a few replacement parts left, but not many. Available items have an 'ADD to CART' or 'Buy Now' button next to them. Otherwise they are not available.

logo has a few items in stock as well.

 

JMP        addr9                Jump to address


Words:        1        Cycles:        2                Affects:        none

 

Operation:        The lower 9-bits of the literal addr9 is moved into the program counter. The upper bits of the Program counter are loaded from  bits 3 & 4 of PCLATH.

 

Coding:        GOTO        addr9

 

 

JMP        PC+W                Jump to PC+W


Words:        1        Cycles:        2                Affects:        C, DC, Z

 

Operation:        W+1 is added into the program counter. The 9th bit of the program counter is always cleared to 0, so the jump destination will be in the first 256 words of any 512-word page. This instruction is useful for jumping into lookup tables comprised of RETW data, or jumping to particular routines. The flags are set as they would be by an ADD instruction.

 

Coding:        ADDWF        2,1

 

 

JMP        W        Jump to W


Words:        1        Cycles:        2                Affects:        none

 

Operation:        W is moved into the program counter. The 9th bit of the program counter is always cleared to 0, so the jump destination will be in the first 256 words of any 512-word page. This instruction is useful for jumping into lookup tables comprised of RETW data, or jumping to particular routines.

 

Coding:        MOVWF                2