
5. TUTORIAL
B–61863E–1/06
GENERAL
38
D tutorial.con
Binder file task3.lnk was added.
File tutorial.con
task1.lnk ,&
task2.lnk ,&
task3.lnk ,& ← added
pmc.lib ,&
oj(tutorial.lnk) nolo &
pr(tutorial.mp1) name(tutorial)
(3) Procedure for execution.
The necessary operations are described below.
> ic286 softkey.c pr(softkey.lis) oj(softkey.obj) compact extend rom
> ic286 task1.c pr(task1.lis) oj(task1.obj) compact extend rom
> ic286 task2.c pr(task2.lis) oj(task2.obj) compact extend rom
> ic286 task3.c pr(task3.lis) oj(task3.obj) compact extend rom
> ic286 ctl.c pr(ctl.lis) oj(ctl.obj) compact extend rom
> bnd386 &<task1.con
> bnd386 &<task2.con
> bnd386 &<task3.con
> bnd386 &<tutorial.con
> bld386 tutorial.lnk oj(tutorial.dat) bf(tutorial.bld)
> oh386 tutorial.dat 386 >tutorial.hex
> map386 tutorial.dat notypecheck
Transfer to PMC
Set LANGUAGE ORIGIN of SYSPRM.
(4) Execution.
At first assign the tool number (No.1, No.2, ..) to the address (D8,
D16, D24, D32) on the PMCPRM screen. In the sample program each
address is defined as shown below. The data type is long integer
except D48.
D0 Tool number specification
D4 Over all run time
D8 Tool No.1
D12 Run time of Tool No.1
D16 Tool No.2
D20 Run time of Tool No.2
D24 Tool No.3
D28 Run time of Tool No.3
D32 Tool No.4
D36 Run time of Tool No.4
D40 Not in use
D44 Run time for other Tool No.
D48 Flag if run time over the limit
D52 Limit time for Tool No.1
D56 Limit time for Tool No.2
D60 Limit time for Tool No.3
D64 Limit time for Tool No.4
Press the softkey [RUN].
If the run time of the tool is over the limit, the flag is set to 1 (D48 bit0,
1, 2, 3) and task1 displays ’*’ on right side of the run time display.
Other than this, same to the application in chapter 5.7.