Zilog Z86E07 User Manual

Page 35

Advertising
background image

4-9

C50 ICEBOX

U

SER

'

S

M

ANUAL

Click on the RESET button to set the program counter to address 000c hex. A subsequent
click of the GO button will cause the emulator to perform a RESET and then execute the
Z8 code.

If you click the STEP button (instead of the GO button) the emulator will execute code, but

will not

cause a device reset on the Z8 ICE chip.

Trace Code/Animate

Animation is a mode where the code is continuously “single-stepped” through. A “GO”
command will start the single steps and the current location of the PC will be displayed at
each step. The trace option only works with Animation. You have the choice of tracing all
instructions or tracing only the calls. The traced code is displayed in the Trace Buffer on
the right of the window, which shows the last 100 traced entries.

Notes:

1. To execute code in real time, the Animation feature must be disabled. Trace or

Animation options can be set from the “Run” menu.

2. Animation is not in real time.

Step/Step Over

Click on the STEP button to do single steps. The number of steps is determined by the
number shown in the edit box (maximum of 99 steps). Never process the STEP command
through the HALT or STOP instruction in your code, because the communication will be
closed after processing the HALT or STOP command. “STEP OVER” only does one step
at a time. It is the same as the STEP command except when the current instruction is a
“CALL subroutine.” In that case, the subsequent code is executed in real time until the
program returns from the subroutine. STEP OVER has the same effect as setting a break
point at the instruction immediately following the current one, and executing the GO
command.

Go/Halt

You can click on the GO button to start the execution of the Z8 program. If the Animation
flag is off at this point, the execution is real time. Otherwise, it is simulated by single steps.
After a “go,” the program stops when it hits a break point, a STOP or HALT instruction, or
when you click on the HALT button. After a “go,” the user should not attempt any other
operation except clicking on the HALT button to halt the execution.

Note:

If the application inadvertently goes into Stop Mode, the only way to halt the emulator
execution is by doing a Stop-Mode Recovery (as defined by the user program). You may
also reset the application using the TARGET RESET button.

Line Assembler

From the Code List field in the Debug window, you can change the Code Memory by
entering the assembly code directly into the window line by line. After you input a line of
assembly code, you can depress the Return key. The assembled code is then written to
Code Memory.

UM009701-0201

Advertising
This manual is related to the following products: