You are on page 1of 2

ADD - Adding

When rung conditions are true, this output


instruction adds Source A to Source B and stores
the result at the destination address. Source A and
Source B can either be values or addresses that
contain values, however Source A and Source B
cannot both be constants.

Flags set During ADD


Carry(c)
Sets if carry is generated; otherwise
resets. Cleared For floating value.
Overflow(v)
Sets if underflow; otherwise resets
Zero(z)
Sets if the result is Zero; otherwise resets.
Sign(s)
Sets if result is negative; otherwise resets.

You might also like