Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual
Page 193
Advertising
![background image](/manuals/579854/193/background.png)
EAF Math Instructions
Chapter 14
14-21
Enter a Binary number. Entry of the binary number FFF produces the
BCD number 004 095. If you enter 7FFF (use SEARCH 53 and set the
bits), 32 767 is displayed. All negative values are stored as two’s
complement. Figure 14.24 shows how the result is stored in the data table.
Bit 16 of the first Result Address word is the sign bit of the BCD number.
Figure 14.24
EAF Binary to BCD Conversion Format in the Data Table After Execution
17 16 15 14
10 7
4 3
Data
Address
0
Result
Address
10360-I
13
060
061
040
0
4
F
0
5
0
9
0
0
0
F
F
X
0
Operand A
Result
Advertising