Jméno

DV — divide

Přehled

DV x

Popis

Divide contents of AC AC by contents of memory[x], leaving 16 binary digits of the quotient in BR and ±0 in AC according to the sign of the quotient. The instruction SLR 15 following the dv operation will roundoff the quotient to 15 binary digits and store it in AC. Let u and v be the numbers in AC and memory[x], respectively, when the instruction dv x is performed. If |u| < |v|, the correct quotient is obtained and no overflow can arise. If |u| > |v|, the quotient exceeds unity and a divide-error alarm will result. If u = v ≠ 0, the dv instruction leaves 16 "ones" in BR; roundoff in subsequent slr 15 will cause overflow and give an arithmetic overflow check alarm. If u = v = 0, a zero quotient of the appropirate sign is obtained. The magnitude of contents of memory[x] appears in AR. SAM is cleared.

DV11010 xxxxxxxxxxx

Odkazy

Podobné instrukce: FIXME:whirlwind.isa.halt;.

Licence Creative Commons
Elektronika a počítače, jejímž autorem je Radek Hnilica, podléhá licenci Creative Commons Uveďte autora-Nevyužívejte dílo komerčně-Zachovejte licenci 3.0 Česká republika .