FAD: Difference between revisions
Jump to navigation
Jump to search
(FAD instruction) |
(Add 'Flags affected' subsection) |
||
Line 12: | Line 12: | ||
On 32-bit hardware only registers A and D are used, and two address locations instead of three. In this case, the A register is linked | On 32-bit hardware only registers A and D are used, and two address locations instead of three. In this case, the A register is linked | ||
to (ea) and the D register to (ea+1). | to (ea) and the D register to (ea+1). | ||
== Flags affected == | |||
The [[rounding indicator]] for floating point operations ('''TG''', sometimes called just '''G''') may be set by this instruction. | |||
== References == | == References == |
Revision as of 09:27, 1 July 2010
FAD | |
---|---|
Description | Add to floating accumulator |
Format | FAD <addr. mode> <disp.> |
Code | 100 0008 |
Affected | T:=(ea) A=(ea+1) D=(ea+2) |
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.
On 32-bit hardware only registers A and D are used, and two address locations instead of three. In this case, the A register is linked to (ea) and the D register to (ea+1).
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