App - 111
APPENDICES
LEDA instruction
(excluding dedicated instructions for
AnACPU, AnUCPU)
Program example:
LEDA ABCDEFGH OUT SM1255
Modify the instruction to an LED
instruction.
$MOV "ABCDEFGH" D0
$MOV "IJKLMNOP" D10
$+ D0 D10 D20
LED D20
LED display is performed after
adding the right 8 characters and
the left 8 characters.
LEDB instruction
(excluding dedicated instructions for
AnACPU, AnUCPU)
Program example:
LEDB IJKLMNOP OUT SM1255
LRDP instruction
Program example:
LRDP K3 D10 D100 K10 OUT SM1255
Modify the instruction to a ZNRD
instruction.
J.ZNRD J0 K3 D10 D100 K10
M0
LWTP instruction
Program example:
LWTP K3 D10 D100 K10 OUT SM1255
Modify the instruction to a ZNWR
instruction.
J.ZNWR J0 K3 D10 D100 K10
M0
OUT instruction
Program example:
The number of counter points or the
device by which the set value is used
is set by parameter.
Number of counter points: 512
Setting val. stored dev. start: D3000
OUT C0 K10
OUT C256 D3000
OUT C0 K10
OUT C256 D3000
After conversion, the parameters
will be set as defaults, so they
must be set again if using an
interrupt counter.
RFRP instruction
Program example:
RFRP H100 K10 W100 K10 OUT SM1255
Modify the instruction to an RFRP
instruction for QnACPU.
U.RFRP U10 K10 W100 K10 M0
RTOP instruction
Program example:
RTOP H100 K10 W100 K10 OUT SM1255
Modify the instruction to an RTOP
instruction for QnACPU.
U.RTOP U10 K10 W100 K10 M0
SCMP instruction
Program example:
LEDA SCAP
LEDC D10
LEDC D100
LEDC M0
LEDR
OUT SM1255
LEDC D10
LEDC D100
LEDC M0
Modify the instruction to an
instruction using AND$= and OUT
instructions.
AND$= D0 D100
OUT M0
An CPU Instruction
Instruction after A QnA
Conversion
Corrective Action