Freescale Semiconductor Microcontrollers User Manual

Page 746

Advertising
background image

Debugger Engine Commands

Debugger Commands

746

Microcontrollers Debugger Manual

The HSCROLLPOS command sets the position of the horizontal scroll box (the
hposition value is in columns: a column is about a tenth of the greatest register or
bitfield width). hposition is the absolute horizontal scroll position. The value 0
represents the first position on the left.

The parameters vposition and hposition can be constant expressions or symbols
defined with the DEFINE command.

The COMPLEMENT command sets the display complement format of register
values:

• one sets the first complement (each bit is reversed),

• none deselects the first complement.

An error message is displayed if:

• the parameter is a negative value

• the scroll box is not visible

If the given scroll position is bigger than the maximum scroll position, the current
absolute position of the scroll box is set to the maximum scroll position.

Equivalent Operations

• ATTRIBUTES FORMAT ~ Select menu Register > Options

• ATTRIBUTES VSCROLLPOS ~ Scroll vertically in the Register component

window.

• ATTRIBUTES HSCROLLPOS ~ Scroll horizontally in the Register component

window.

• ATTRIBUTES COMPLEMENT ~ Select menu Register > Options

Usage

ATTRIBUTES list

where list=command{,command})

command= FORMAT (hex|bin|dec|udec|oct) | VSCROLLPOS

vposition | HSCROLLPOS hposition | COMPLEMENT(none|one)

Where vposition=expression and hposition=expression

Example

in>Register < ATTRIBUTES FORMAT BIN

Contents of registers are displayed in binary format in the Register component
window.

in>Register < ATTRIBUTES VSCROLLPOS 3

Advertising