Chapter 6 Applied Instructions 10 3 10 2 10 1 10 0 Four-digit binary-coded decimal type of DIP switch Four-digit binary-coded decimal value X0.15 X0.0 The instruction B IN is used to store the binary value in D100. The instruction B CD is used to convert the value in D100 into the four-digit binary-coded decimal value. Y0.15 Y0.0 Four-digit binary-coded decimal type of seven-segment display 6_ 6-83 6 6 4 2 1 8 1 8