323
0
D00000 3F2A $2000
D00001 51C3 $2001
D00002 E02A $2002
D00003 7C9F $2003
D00004 2A20 $2004
D00005 A827 $2005
D00006 2A20 $2006
D00007 E02A $2007
D00008 C755 $2008
D00009 94DC $2009
52578
D00101 D00100
0005 2678
10 words
100 0
0
1
1
0
04
Binary
Unsigned
C : #
5-23-4 BCD SQUARE ROOT: ROOT(140)
(140)
ROOT Sq R
R: Result word CIO, G, A, DM, DR, IR
Sq: 1
st
source word CIO, G, A, T, C, #, DM
Operand Data AreasLadder Symbol
Variations
j ROOT(140)
When the execution condition is OFF, ROOT(140) is not executed. When the
execution condition is ON, ROOT(140) computes the square root of the 8-digit
content of Sq and Sq+1 and places the result in R. The fractional portion is trun-
cated.
R
Sq+1 Sq
Sq must be BCD.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Sq or the content of *DM word is not BCD when set for BCD.
EQ (A50006): ON when the result is 0.
Description
Precautions
Special Math Instructions Section 5-23