beautypg.com

Input command, Inputs command – Freescale Semiconductor Microcontrollers User Manual

Page 271

background image

HC08 Full Chip Simulation

Configuration Procedure

271

Microcontrollers Debugger Manual

INPUT Command

The INPUT command sets the simulated inputs to port . The CPU reads this input
value when port is set as an input port.

Syntax

>INPUT

Where:

is the letter representing corresponding port

Eight-bit simulated value for port

Example

>INPUTA AA

Simulate the input AA on port A.

INPUTS Command

In Full Chip Simulation and CPU-Only Simulation mode, the INPUTS command opens
the Simulated Port Inputs dialog box shown in

Figure 11.22

. You may then use this box to

specify the input states of port pins and IRQ.

Figure 11.22 Simulated Port Inputs Dialog Box

When using In-Circuit Simulation mode, the INPUTS command shows the simulated
input values to any applicable port.

Syntax

>INPUTS