<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=FDV</id>
	<title>FDV - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=FDV"/>
	<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=FDV&amp;action=history"/>
	<updated>2026-07-14T09:20:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.ndwiki.org/index.php?title=FDV&amp;diff=1439&amp;oldid=prev</id>
		<title>TArntsen: FDV instruction</title>
		<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=FDV&amp;diff=1439&amp;oldid=prev"/>
		<updated>2010-07-01T09:53:50Z</updated>

		<summary type="html">&lt;p&gt;FDV instruction&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{InstructionBox&lt;br /&gt;
|Mnemonic=FDV&lt;br /&gt;
|Description=Divide floating accumulator&lt;br /&gt;
|Format=FDV &amp;#039;&amp;#039;&amp;lt;[[ND-100 addressing modes|addr. mode]]&amp;gt; &amp;lt;[[displacement|disp.]]&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
|Code=114&amp;amp;nbsp;000&lt;br /&gt;
|Affected=T A D, Z, TG&lt;br /&gt;
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;FDV&amp;#039;&amp;#039;&amp;#039; 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).&lt;br /&gt;
&lt;br /&gt;
If division by zero is attempted the error indicator &amp;#039;&amp;#039;&amp;#039;Z&amp;#039;&amp;#039;&amp;#039; is set to one.&lt;br /&gt;
&lt;br /&gt;
On 32-bit floating point hardware only registers &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; are used, and two address locations instead of three (ea and ea+1).&lt;br /&gt;
&lt;br /&gt;
== Flags affected ==&lt;br /&gt;
The [[rounding indicator]] for floating point operations (&amp;#039;&amp;#039;&amp;#039;TG&amp;#039;&amp;#039;&amp;#039;, sometimes called just &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039;) may be set by this instruction.&amp;lt;br&amp;gt;&lt;br /&gt;
The [[error indicator]] (&amp;#039;&amp;#039;&amp;#039;Z&amp;#039;&amp;#039;&amp;#039;) is set if division by zero is attempted. The flag may be tested by a following [[BSKP]] instruction.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*{{ND-doc|06.014.02|Page 3-23}}&lt;br /&gt;
*{{ND-doc|06.029.01|Pages 69 and 72}}&lt;br /&gt;
[[Category:ND-100 instructions]]&lt;/div&gt;</summary>
		<author><name>TArntsen</name></author>
	</entry>
</feed>