0000
00
(166)
MIN 2000 D00000 D00100
321
When bit 15 of C is OFF, data within the range is treated as unsigned binary and
when it is ON the data is treated as signed binary. Refer to
3-2 Data Area Struc-
ture
for information on signed and unsigned binary data.
15 14 13 12 11 00
Output address to IR0
1 (ON): Yes.
0 (OFF): No.
Number of words
in range (N)
Not used – set to zero.
Data type
1 (ON): Signed binary
0 (OFF): Unsigned binary
C:
The 3 rightmost digits of C must be BCD between 001 and 999.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): The 3 rightmost digits of C are not BCD between 001 and 999.
Content of *DM word is not BCD when set for BCD.
EQ (A50006): The minimum value is zero.
N (A50008): Shows the status of bit 15 of the minimum value.
Example When CIO 000000 is ON in the following example, MIN(166) outputs to D00100
the minimum value within the 10-word range from D00000 to D00009. Because
bit 14 of C is ON, the lower address of the two addresses within the range that
contain the minimum value is output to IR0.
Address Instruction Operands
00000 LD 000000
00001 MIN(166)
2000
D00000
D00200
CIO 2000 4010
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
D00100 2A20
IR0 2004
10 words
Precautions
Special Math Instructions Section 5-23