SASM : IADD3

IADD3:

Syntax:

  • IADD3[.BS] <R3>   <R0> <R1> <R2>

Description:

   Adds the contents of R0 and R1 and subtracts content of R2 from the sum, then and moves the result to R3. Instruction is performed according to [.BS] (bank select). Information on Bank Select is here. Instruction is stack conditioned.

Exception:

   Integer overflow.

Examples:

IADD3 0x20 0x23 0x22 0x21 ! Add contents of registers 
                          ! 0x23 and 0x22, subtract 
                          ! content of 0x23 from the
		          ! and move result to 0x20
      


$Id: iadd3_sasm.html,v 1.1 2001/05/07 13:30:29 lukyanov Exp $