Chapter 6 Instruction Details
XBC E-Type Main Unit 6-199 Ve r. 1
6.31 Display Instruction
6.31.1 SEG, SEGP
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
SEG(P)
4 O - -
S Address where data to decode in 7 segments is saved. BIN 32
Address to save data decoded.
[Flag Set]
Flag Description
To be set if Z’s format regulation is incorrect.
1) SEG (7 Segments)
(1) Saves 7 segments of N digits decoded from S by Z’s specified format in D.
Z’s format (Hexadecimal)
D’s Start bit
S’s Start bit
Don’t care
Number
conveted(0~4)
Sst Dst Dnt n
(2) Where ‘n’ means the number of digits to be converted in 4-bit unit.
(3) If ‘n’ is 0, there will be no conversion.
b15 b0
S
0 0 0 0
0 0 0 0
0
1 1 0 0 1 1 1
b15 b0
D 0 1 1 1 1 1 0 1 0
0 1 0 0 1 1 1
n = 2
n = 1