ADD is a basic assembly language program operation. It takes three inputs. The registers of the two values to be added and the register where the new value is to be placed.

The general format is thus:

ADD $t1, $t2, $t3

Where $t1 is the register to place the result in and $t2 and $t3 are the registers containing the original values (the $ symbol denotes a register, t1-3 are the designations for it. There are also v, s, r, and a registers but they serve different functions).

See also: ADDI (add immediate)

----------

Yeah yeah, it's MIPS architecture. I'm sorry I left it out before the XP PACK RAPE.