Input<x> command, Inputs command – Freescale Semiconductor Microcontrollers User Manual

Page 271

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

271

Microcontrollers Debugger Manual

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.

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

Advertising