HP 64767 User Manual page 418

Emulation/analysis
Table of Contents

Advertisement

Chapter 12: Emulator/Analyzer Interface Commands
--SYMB--
OMF-86 Examples. The following short C code example should help illustrate
how OMF-86 symbols are maintained by SRU and referenced in your emulation
commands.
File /users/dave/control.c:
int *port_one;
main ()
{
int port_value;
} /* end main */
File /system/project1/porthand.c:
process_port (int *port_num, int port_data)
{
static int i;
static int i2;
} /* end of process_port */
File /system/project1/utils.c:
delay()
{
int i,j;
int waste_time;
} /* end delay */
418
port_one = 255;
port_value = 10;
process_port (port_one, port_value);
for (i = 0; i <= 64; i++) {
*port_num = port_data;
delay ();
i = 3;
port_data = port_data + i;
}
for (i = 0; i <= 256000; i++)
for (j = 0; j <= 256000; j++)
waste_time = 0;

Advertisement

Table of Contents
loading

This manual is also suitable for:

80186/8/xl/ea/eb

Table of Contents