Arithmetic Instructions TMS7000 arithmetic instructions perform basic arithmetic operations on byte values. INSTRUCTION MNEMONIC Add With Carry ADC Add ADD Decimal Add with Carry DAC Decrement DEC Decrement Double DECD Decimal Subtract with Borrow DSB Increment INC Invert (Complement ) INV Multiply MPY Subtract with Borrow SBB Subtract SUB Branch and Jump Instructions Branch and jump instructions transfer control to specified locations in program memory. INSTRUCTION MNEMONIC Branch BR Bit Test and Jump if One Peripheral BTJOP Bit Test and Jump if Zero Peripheral BTJZP Bit Test and Jump if One BTJO Bit Test and Jump if Zero BTJZ Call Subroutine CALL Decrement Register and Jump if Non Zero DJNZ Jump if Carry/Jump if Higher or Same JC/JHS Jump Unconditionally JMP Jump if Negative JN Jump if No Carry/Jump if Lower JNC/JL Jump if Not Zero/Jump if Not Equal JNZ/JNE Jump if Positive JP Jump if Positive or Zero JPZ Jump if Zero/Jump if Equal JZ /JEQ Return from Interrupt RETI Return from Subroutine RETS Trap to Subroutine TRAP INSTRUCTION MNEMONIC Compare CMP Compare A to memory CMPA Test A register TSTA Test B register TSTB INSTRUCTION MNEMONIC Clear Carry Bit CLRC Set Carry Bit SETC Disable Interrupts DINT Enable Interrupts EINT Idle until Interrupt IDLE No Operation NOP INSTRUCTION MNEMONIC Load A register LDA Load Stack Pointer LDSP Move MOV Move Double MOVD Move to/from Peripheral MOVP Pop from Stack POP Push on Stack PUSH Store A register STA Store Stack Pointer STSP Swap Nibble SWAP Exchange with B register XCHB INSTRUCTION MNEMONIC AND AND Clear CLR Invert INV OR OR Exclusive OR XOR