EAF Math Instructions
Chapter 14
14-19
Figure 14.20
EAF Reciprocal Format in the Data Table After Execution
17 16 15 14
10 7
4 3
Data
Address
0
Result
Address
10358-I
13
040
041
042
043
060
061
062
063
0
0
0
0
0
0
0
6
5
0
0
4
0
0
1
2
0
0
0
X
0
X
0
0
0
0
0
8
Operand A
Result
The BCD to Binary conversion function converts a BCD Conversion
number into a binary number. Its function number is 13 and the
conversion takes the form:
0xx xxx = y yyy
Important: When the result is displayed using a Get instruction, only the
first 12 bits can be seen. Use a SEARCH 53 to look at all 16 bits.
Enter an EAF rung like that in Figure 14.21
Figure 14.21
EAF BCD to Binary Conversion Function Input and Display Rung
060
EXECUTE AUX
FUNCTION
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
13
040
060
G
040
G
041
095
G
004
FFF
BCD to Binary