Back
MASM : INTEGER : IADD3
IADD3:

Syntax:

Description:

Adds the contents of Rs0 and Rs1, subtracts content of Rs2 from the sum and moves the result to Rd3 according to BS (bank select).

Microcode Pattern:

Takes 5 cycles to execute.
    Example: IADD3 0xA3 3 0xA0 0xA1 0xA2

	  
	 MPC  BS3 C3 P3 P2 P1 P0
	-------------------------
	IADD3  0  0  00 A2 A1 A0
	  -    0  0  00 00 00 00
	  -    0  0  00 00 00 00
	  -    0  0  00 00 00 00
	  -    3  0  A3 00 00 00   

	  
Exceptions :

No exceptions

Example :

IADD 0x20 3 0x22 0x21 0x23 !! Add content of register 0x21
                           !! to content of register 0x22 
                           !! subtract the content of 0x23
                           !! and write the result to 0x20

APE Group Zeuthen. 2003
$Id: iadd3_masm.php,v 1.2 2004/08/04 09:42:41 noe Exp $
$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $