Decode_skip, Define – Freescale Semiconductor Microcontrollers User Manual

Page 772

Advertising
background image

Debugger Engine Commands

Debugger Commands

772

Microcontrollers Debugger Manual

DECODE_SKIP

In the HC08 CPU and HCS08 CPU components, the DECODE_SKIP command defines
usage of SKIP/SKIP2 pseudo instructions.

NOTE

The compiler generates these pseudo instructions by default in order to
optimize code size and speed.

Usage

DECODE_SKIP NO | SKIP | ALL | INFO

Where:

• NO decodes BRN and CPHX #xxxx instructions as is

• SKIP decodes BRN as SKIP pseudo instruction (default)

• ALL decodes BRN as SKIP and CPHX #xxxx as SKIP2 pseudo instructions

• INFO provides information if BRN is decoded as SKIP and if CPHX #xxxx is

decoded as SKIP2

Components

HC08 CPU, HCS08 CPU (also affected: Assembly and Trace components)

Example:

in>DECODE_SKIP ALL

in>DECODE_SKIP INFO

ALL

(decode BRN as SKIP and CPHX #xxxx as SKIP2 instructions)

Decoding BRN as SKIP and CPHX #xxxx as SKIP2 is set and information about
it is displayed in the command line component.

DEFINE

The DEFINE command creates a symbol and associates the value of an expression with
it. Arithmetic expressions are evaluated when the command is interpreted. The symbol can
be used to represent the expression until the symbol is redefined, or undefined using the
UNDEF command. A symbol is a maximum of 31 characters long. In a command line, all
symbol occurrences (after the command name) are substituted by their values before

Advertising