Examples
The following short C code example should help illustrate how symbols are
maintained by SRU and referenced in your emulation commands.
File /users/dave/control.c:
int *port_one;
main ()
{
int port_value;
port_ptr = port_one;
port_value = 10;
process_port (port_ptr, port_value);
} /* end main */
File /system/project1/porthand.c:
#include "utils.c"
void process_port (int *port_num, int port_data)
{
static int i;
static int i2;
for (i = 0; i <= 64; i++) {
i2 = i * 2;
*port_num = por i2;
delay();
{
static int i;
i = 3;
port_data = por i;
}
}
} /* end of process_port */
File /system/project1/utils.c:
delay()
{
int i,j;
int waste_time;
for (i = 0; i <= 256000; i++)
for (j = 0; j <= 256000; j++)
waste_time = 0;
} /* end delay */
Chapter 11: Emulator/Analyzer Interface Commands
--SYMB--
388
Summary of Contents for 64780A
Page 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Page 20: ...xx ...
Page 21: ...Part 1 Quick Start Guide 1 ...
Page 23: ...1 Getting Started 3 ...
Page 45: ...Part 2 Using The Emulator 25 ...
Page 47: ...2 Plugging into a Target System 27 ...
Page 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Page 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Page 69: ...4 Entering Commands 49 ...
Page 103: ...5 Configuring the Emulator 83 ...
Page 122: ...102 ...
Page 123: ...6 Using the Emulator 103 ...
Page 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Page 249: ...8 Making Software Performance Measurements 229 ...
Page 279: ...9 Making Coordinated Measurements 259 ...
Page 295: ...Part 3 Reference 275 ...
Page 297: ...10 Setting X Resources 277 ...
Page 312: ...292 ...
Page 313: ...11 Emulator Analyzer Interface Commands 293 ...
Page 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Page 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Page 422: ...402 ...
Page 460: ...440 ...
Page 461: ...Part 4 Concept Guide 441 ...
Page 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Page 471: ...Part 5 Installation and Service Guide 451 ...
Page 473: ...14 Installation 453 ...
Page 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Page 493: ...15 Installing Updating Emulator Firmware 473 ...
Page 500: ...480 ...
Page 516: ...496 ...
Page 540: ...520 ...