FAD: Difference between revisions
Jump to navigation
Jump to search
(FAD instruction) |
(Made clearer) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|Format=FAD ''<[[ND-100 addressing modes|addr. mode]]> <[[displacement|disp.]]>'' | |Format=FAD ''<[[ND-100 addressing modes|addr. mode]]> <[[displacement|disp.]]>'' | ||
|Code=100 000 | |Code=100 000 | ||
|Affected=T | |Affected=T A D, TG | ||
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]] | |Architecture=[[ND-100]], [[ND-110 CPU|ND-110]] | ||
}} | }} | ||
'''FAD''' is an assembly instruction. The contents of the [[effective address]] and the following one or two locations are added to the [[floating accumulator]]. | '''FAD''' is an assembly instruction. The contents of the [[effective address]] and the following one or two locations are added to the [[floating accumulator]]. The result is in the floating accumulator. | ||
On 32-bit hardware only registers A and D are used, and two address locations instead of three. | On 32-bit floating point hardware only registers '''A''' and '''D''' are used, and two address locations instead of three. | ||
== Flags affected == | |||
The [[rounding indicator]] for floating point operations ('''TG''', sometimes called just '''G''') may be set by this instruction. | |||
== References == | == References == |
Latest revision as of 10:01, 1 July 2010
FAD | |
---|---|
Description | Add to floating accumulator |
Format | FAD <addr. mode> <disp.> |
Code | 100 0008 |
Affected | T A D, TG |
Type | User |
Architecture | ND-100, ND-110 |
FAD is an assembly instruction. The contents of the effective address and the following one or two locations are added to the floating accumulator. The result is in the floating accumulator.
On 32-bit floating point hardware only registers A and D are used, and two address locations instead of three.
Flags affected
The rounding indicator for floating point operations (TG, sometimes called just G) may be set by this instruction.
References
- Norsk Data Document ND–06.014.02 ND-100 REFERENCE MANUAL Page 3-22
- Norsk Data Document ND–06.029.01 ND-110 Instruction Set Pages 68 and 72