AH500 Programming Manual 
6-268 
API 
Instruction code  Operand  Function 
1204    SEGD  P 
S, D 
Seven-segment decoding 
Device
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#  “$”  DF 
  Pulse instruction
16-bit instruction (5 steps)
32-bit instruction 
Symbol: 
S 
Source device  Word 
D 
Device in which the seven-segment data is 
stored 
Word 
Explanation: 
The values of the lower 4 bits (b0~b3) in the source device specified by S are decoded as the 
seven-segment data stored in D. 
Example: 
When X0.0 is ON, the values of b0~b3 in D0 are decoded as the seven-segment data stored in 
Y0.0~Y0.15. If the data in the source device exceeds four bits, the values of the lower 4 bits are 
decoded. 
 
The relation between the seven-segment data and the bit pattern of source data is presented in the 
following table.