EAF Math Instructions
Chapter 14
14-10
Figure 14.8
EAF Power Function Input and Display Rungs
060
EXECUTE AUX
FUNCTION
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
33
040
060
G
061
032
G
062
000
G
063
000
G
040
G
041
005
G
042
000
G
043
000
G
050
000
G
051
G
002
052
000
G
053
000
G
000
000
Enter the values for the base and the exponent. Entry of y = 2 in word 050
and x = 5 in word 041 produces the result 32. Figure 14.9 shows how the
words are stored in the data table. If a result has numbers beyond 12
digits, the result is truncated.
Figure 14.9
EAF Power of Y Format in the Data Table After Execution
10352-I
X
0
0 0
17 16 15 14 10 7 4 3
13
0
0
0
5
0
0
0
0
0
0
0
0
0
0
0
0
2
0
0
0
0
0
0
3
2
Data
0
040
041
042
043
050
051
052
Result
Address
060
061
062
063
053
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Address
Operand A
Operand B
Result
When a processor executes an EAF, it uses the data table format shown in
Figure 14.10. The Operand represents a number you are going
to manipulate.
One Operand EAFs