Delta AS Series Programming Manual page 344

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

9.
16-bit instruction example: when the operand S
}
1
S
1
2
S
+1
+
1
n
.
.
.
.
.
.
.
.
.
5
S +n-1
1
10.
16-bit instruction example: when the operand S
S
1
S
+1
1
.
.
.
.
.
S +n-1
1
Example 1
When X0.0 is ON, the instruction adds the binary values in D10–D14 to the binary values in D0–D4, and stores the
sums.
1
D0
D10
D1
2
D11
3
+
D2
D12
4
D3
D13
5
D4
D14
is a device (not a constant or a hexadecimal value)
2
}
1
D
S
2
2
D +1
S
+1
2
=
n
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5
D +n-1
S +n-1
2
is a constant or a hexadecimal value
2
}
1
10
S
2
2
10
S
+
2
n
.
.
.
.
.
.
.
.
.
.
.
.
.
5
10
S
2
Ex ec ution res ult
10
D100
D101
11
12
D102
13
D103
14
D104
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
}
1+1=2
2+2=4
n
.
.
.
.
5+5=10
}
1+10=11
D
2+10=12
D +1
=
n
.
.
.
.
.
.
.
.
.
5+10=15
D +n-1
11
13
15
17
19
}
n
6 - 6 5
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents