SourcePoint Intel Help

Table of Contents

Register Access

Display or change the contents of a processor register.

Syntax

[[px]] reg-name [= expr]

[[px]] reg-name.bit-name [= expr]

Where:

[px]

is the viewpoint override, including punctuation ( [ ] ), specifying that the viewpoint is temporarily set to processor x of the boundary scan chain. ย The processor can be specified as px (where x is the processor ID), or an alias you have defined for a given processor ID. ย ALL cannot be used as a viewpoint override.

reg-name

specifies the name of a register.

bit-name

specifies the name of a bit within a register.

expr

specifies a number or expression.

Discussion

Use the reg command to set or display the contents of a specified register. Register contents are displayed in the current number base. Processor register names can also be used in expressions. ย Register and bit names are case insensitive.

Example 1

To display the value of EIP for the current viewpoint processor:

Command input:

EIP

Result:

000002B0H

Example 2

To set the value of EIP for processor 1:

Command input:

[P1] EIP = 1000

[P1] EIP

Result:

00001000H

Example 3

To display the value of the ZF bit in the eflags register:

Command input:

eflags.zf

Result:

FALSE

Related Topics: