SX Embedded Controller Instruction

CJB fr1,fr2,addr

Description: Compare, jump if below
Operation: ( W = fr1 - fr2 ) <= 0 ? PC = addr
Flags affected: C DC Z
Registers affected: W PC
Sources referenced: fr1 fr2
Cycles: 4 *
Opcode:
Actually compiles to: mov W, fr2; mov W, fr1-w; sb 3.0; jmp addr
Microchip PIC syntax: MOVF fr2,0; SUBWF fr1,0; BTFSS 3,0; GOTO addr
Notes: