compare/jump instruction:
CJNE Mx1, Mx2, addr /*Compare, and if Mx1 is not equal to Mx2, jump to addr*/
CJE Mx1, Mx2, addr /*Compare, and if Mx1 is equal to Mx2, jump to addr*/
CJLE Mx1, Mx2, addr /*Compare, and if Mx1 is less than or equal to Mx2, jump to addr*/
CJGE Mx1, Mx2, addr /*Compare, and if Mx1 is greater than or equal to Mx2, jump to addr*/
CJL Mx1, Mx2, addr /*Compare, and if Mx1 is less than Mx2, jump to addr*/
CJG Mx1, Mx2, addr /*Compare, and if Mx1 is greater than Mx2, jump addr*/
DJNZ Mx, addr /*Decrease Mx by 1, and jump to addr if Mx is not equal to 0,if Mx>0x7f, one additional RAM is used as temporary RAM*/
DJZ Mx, addr /*Decrease Mx by 1, and jump to addr if Mx is equal to 0,if Mx>0x7f, one additional RAM is used as temporary RAM*/ |