HCS08 Full Chip Simulation
Peripheral Modules Commands
464
Microcontrollers Debugger Manual
GOTOCYCLE Command
The GOTOCYCLE command executes the program in the simulator beginning at the
address in the program counter (PC). Execution continues until the cycle counter is equal
to or greater than the specified value, until a key or the Stop button on the toolbar is
pressed, until it reaches a break point, or until an error occurs.
Syntax
GOTOCYCLE <n>
Where:
<n> Cycle-counter value at which the execution stops
Example
>GOTOCYCLE 100
Execute the program until the cycle counter equals 100.
INPUT<x> Command
The INPUT<x> command sets the simulated inputs to port <x>. The CPU reads this
input value when port <x> is set as an input port.
Syntax
INPUT<x> <n>
Where:
<x> is the letter representing corresponding port
<n> Eight-bit simulated value for port <x>
Example
>INPUTA AA
Simulate the input AA on port A.