English
Language : 

HD6475368CP Datasheet, PDF (26/108 Pages) Agilent(Hewlett-Packard) – H8/536 Emulator PC Interface
Sample Program
Assembly
The sample program is written for and assembled with the HP 64869
H8/500 Assembler/Linkage Editor. For example, the following
command was used to assemble the sample program.
C>h8asm cmd_rds.src /DEBUG <RETURN>
In addition to the assembler listing (cmd_rds.lis), the "cmd_rds.obj"
relocatable file is created.
Linking the Sample
Program
The sample program can be linked with following command and
generates an absolute file. The contents of "cmd_rds.k" linkage editor
subcommand file is shown in Figure 2-2.
C>h8lnk /SUBCOMMAND=cmd_rds.k <RETURN>
In addition to the linker load map listing (cmd_rds.map), the
"cmd_rds.abs" absolute file is created.
debug
input cmd_rds
start Prog(1000),Table(1100),Data(0FC00)
print cmd_rds
output cmd_rds
exit
Figure 2-2. Linkage Editor Subcommand File
Note
You need to specify DEBUG command line option to both assembler
and linker command to generate local symbol information. The
DEBUG option for the assembler and linker direct to include local
symbol information to the object file.
2-28 Getting Started