High−level Instructions
3 − 207
Description
Converts the 16-bit equivalent constant or 16-bit data specified by S to 4-digit data for 7-segment indication.
The converted data is stored in the area starting from the 16-bit area specified by D.
The relationship between the displayed contents and the contents specified for S, and the data of the
7−segment display is shown below.
One digit data to be
converted
8-bit data for
7-segment indication
7-segment
Hexadecimal Binary g f e d c b a
indication 7-segment indication
H0 0000 0011 1111
H1 0001 0000 0110
H2 0010 0101 1011
LSB
H3 0011 0100 1111
a
H4 0100 0110 0110
b
H5 0101 0110 1101
c
g
H8 1000 0111 1111
f
ce
H9 1001 0110 1111
g
HA 1010 0111 0111
d
HB 1011 0111 1100
MSB
HC 1100 0011 1001
HD 1101 0101 1110
HE 1110 0111 1001
HF 1111 0111 0001
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The last data area for the converted result exceeds the limit.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com