Y0
X0X1X2X3X4Xm
X
Y
Ym
Y4
Y3
Y1
Y2
265
Enter the coordinates of t h e m + 1 e n d - p o i n t s , which define the m line segments,as shown in the following table. Enter all coordinates in BIN form. Always enterthe coordinates from the lowest X value (X1) to the highest (Xm). X0 is 0000, anddoes not have to be entered.

Word Coordinate

C+1 Xm (max. X value)

C+2 Y0
C+3 X1
C+4 Y1
C+5 X2
C+6 Y2
↓ ↓
C+(2m+1) Xm
C+(2m+2) Ym
If bit 13 of C is set to 1, the graph will be reflected from left to right, as shown in thefollowing diagram.
X0XmX
Y
XmX0X
Y
The following example demonstrates the construction of a linear approximationwith 12 line segments. The block of data is continuous, as it must be, from DM0000 to DM 0026 (C to C + (2× 12 + 2)). The input data is taken from IR 010, andthe result is output to IR 011.
DM 0000 $C00B
DM 0001 $05F0 X12
DM 0002 $0000 Y0
DM 0003 $0005 X1
DM 0004 $0F00 Y1
DM 0005 $001A X2
DM 0006 $0402 Y2
↓↓↓
DM 0025 $05F0 X12
DM 0026 $1F20 Y12
APR(69)
DM 0000
010
011
00000
1100000000001011
Bit
15 Bit
00
(Output and
input both BIN) (m1 = 11: 12 line
segments)

Content Coordinate

Address Instruction Operands
00000 LD 00000
00001 APR(69)
DM 0000
010
011
Special Math Instructions Section 5-21