/
SEG
SEG
SEG, SEGP
SEG instruction converts source data to 7-segment code and saves the code into the byte of Destination.
| |
S | Source |
D | Destination |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. |
| Error | Zero | Carry | ||
SEG SEGP | S | o | o | o | o | o | o | o | o | - | o | o | o | o | 3 | o | - | - |
D | o | - | o | o | o | - | o | o | - | o | o | o | - |
When enabled, the SEG instruction converts data source to 7-segment code and places the code in the Destination.
7-Segment Display Table
Example)
If X01 is ON, the SEG instruction converts H1234 to 7-segments code and places to D0 and D1.
, multiple selections available,
Related content
GRY Conversion
GRY Conversion
More like this
HABIN
HABIN
More like this
MUL (BINARY)
MUL (BINARY)
More like this
DIV (BINARY)
DIV (BINARY)
More like this
SWAP
SWAP
More like this
GBIN Conversion
GBIN Conversion
More like this