|Description||Divide floating accumulator|
|Format||FDV <addr. mode> <disp.>|
|Affected||T A D, Z, TG|
FDV is an assembly instruction. The contents of the floating accumulator is divided by the floating word in the effective address and the following one or two locations, with the result in the floating accumulator (T A D).
If division by zero is attempted the error indicator Z is set to one.
On 32-bit floating point hardware only registers A and D are used, and two address locations instead of three (ea and ea+1).
The rounding indicator for floating point operations (TG, sometimes called just G) may be set by this instruction.
The error indicator (Z) is set if division by zero is attempted. The flag may be tested by a following BSKP instruction.