Compiling the Demo
Program
The demo program is written for and compiled with the Mitsubishi
NC77 Compiler Package. The demo program was compiled and
assembled with the following commands.
$ nc77 -g -c spmt_demo.c <RETURN>
$ rasm77 -s scrt0.a77 <RETURN>
Linking the Demo
Program
The following command was used to generate the absolute file. The
contents of "spmt_demo.lnk" linkage editor subcommand file is shown
in figure 2-2.
$ link77 @\spmt_demo.lnk<RETURN>
spmt_demo scrt0
,nc77lib.lib
,data=400 bss stack program=F000 init const
,-s -ms
Figure 2-2. Linkage Editor Subcommand File
Generate HP
Absolute file
To generate HP Absolute file for the Softkey Interface, you need to use
"m77cnvhp" absolute file format converter program. The m77cnvhp
converter is provided with HP 64147 Softkey Interface. To generate
HP Absolute file, enter following command:
$ m77cnvhp spmt_demo <RETURN>
You will see that spmt_demo.X, spmt_demo.L, and spmt_demo.A are
generated. These are sufficient throughout this chapter.
Note
If you make the absolute file as IEEE-695 format, you don’t need to
convert the file to HP Absolute file. HP 64147A Softkey Interface can
load IEEE-695 format without any conversion.
Note
In the case of MELPS 7700 Hex format file, you must specify -g option
to compiler and -s option to assembler/linker to generate local symbol
information.
2-4 Getting Started
Summary of Contents for 64147A
Page 2: ......
Page 8: ...Notes ...
Page 14: ...Notes 6 Contents ...
Page 16: ...Figure 1 1 HP 64147 Emulator for MELPS 7750 51 Series 1 2 Introduction ...
Page 84: ...Notes 4 24 Configuring the Emulator ...
Page 92: ...Notes A 8 Using A Foreground Monitor ...
Page 105: ...Notes Index 11 ...