Chapter 6 Instruction Details
XBC E-Type Main Unit 6-200 Ve r. 1
2) Formation of Segments
Formation of
7 Segments
Data
displayed
Bit b7 b6 b5 b4 b3 b2 b1 b0
3) Program Example
(1) If Input Signal P00000 is changed from Off to On status, it displays 4 digits that it decoded from No.0 bit of
P1000 to No.0 of P1100 into 4 digits by 7 segments. Decoding format ‘h0004’ is saved in 2-word area of
P1100~P1101.
SEG P1000 P1100 h0004
P00000