Video Game Controller User Manual

Chapter 5 Instruction Specifications
5-99
Program example
X01001
LD X00001
A
ND DIF0
[
D
IST (WR0000, WX0000, 4)
]
DIST (WR0000, WX0000, 4)
DIF0
Program description
A 4-bit 4-digit Digit switch is connected to the WX0000, and the data for each digit is stored in WR0000 to WR0003 as
independent data.
9 7 4 6
X015 to X012 X011 to X008 X007 to X004 X003 to X000
WR0003
=H0009
WR0002
=H0007
WR0001
=H0004
WR0000
=H0006
28-point type
Output
Input
DIST (d, s, n)