unsigned short dest[0x7f];
unsigned short *dest_ptr;
main ()
{
/*****************************************/
/* This is a comment block
/* to demonstrate the "number
/* of source lines" trace
/* display option.
/*****************************************/
char *message;
for (;;)
{
message = "This message is to be written indefinitely. ";
dest_ptr = dest;
while (*message != '\0')
{
*dest_ptr = *message;
dest_ptr++;
message++;
}
}
}
Display Positioning
3-2 Displaying Traces
*/
*/
*/
*/
Figure 3-1. Program Used for Example Displays
Then, the absolute file was loaded:
load cprg <RETURN>
The following trace command was entered, and the program was
run.
trace after main <RETURN>
run from transfer_address <RETURN>
The trace display command displays 256 states, not all of which can
appear on the screen at the same time. However, you can
reposition the display on the screen with the keys described below.
Up/Down
The < uparrow> and < downarrow> (or roll up and roll down)
keys move the display up or down on the screen one line at a time.