Debugging
Key Sequence
Example
7-1-3
Address Execution
246
When Debug mode is entered or left, data in the IR, AR, and LR areas is
cleared unless the Data Retention control bit is ON (see 3-3-2 Data Reten-
tion Control Bit)
Entering DEBUG
mode
Debugging possible.
Debugging not possible.
Leaving DEBUG
mode
This operation is used to execute a program on an instruction-by-instruction
basis while examining the execution status at each step.
After Debug mode is entered, the address from which execution is to begin is
set. EXT is then used to start execution; the down key, to go to the next ad-
dress. If the address holds an instruction that ends a cycle (such as END(01)
and SBN(92)) or an instruction that stops program execution (FALS(07)), ad-
dress execution will be ended.
Since the results of the executed instruction are transferred to the I/O mem-
ory, word data can be monitored through the Data Monitor operation.
Section 7-1
→
(Program mode
Debug mode)
→
(Debug mode
Program mode)
Need help?
Do you have a question about the SYSMAC C2000H and is the answer not in the manual?