ADD

From NDWiki
Revision as of 22:31, 30 March 2009 by Mike (talk | contribs) (New page: {{InstructionBox |Mnemonic=ADD |Description=Add to A register |Format=ADD ''<address mode> <disp.>'' |Code=060 000 |Affected=A:=A+(EL), C, O, Q }} '''STZ''' is an instruction on the ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
ADD
Description Add to A register
Format ADD <address mode> <disp.>
Code 060 0008
Affected A:=A+(EL), C, O, Q
Type User
Architecture {{{Architecture}}}

STZ is an instruction on the ND platform. It adds the effective word to the A register.

The carry indicator is set to 1 if a carry occurs from the sign bit positions of the adder, otherwise the carry indicator is reset to 0. If the signs of the two operands are equal, but the sign of the result is different, overflow has occurred, and both the dynamic overflow indicator and the static overflow indicator are set to one. If the condition for overflow does not exist, the dynamic overflow indicator is reset to 0, while the static overflow indicator is left unchanged.


Sources