Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.197

Core Registers

In this topic:

Displaying / modifying registers from the context menu

Modify register dialog

General purpose register example

 

 

Core Register lists all CPU's registers along with their values and allows you to display, locate or modify the code. You can open the Core Registers by clicking View menu / Debug / Core Registers.

 

coreregisters

 

 

Displaying / modifying registers from the context menu

1. Select the register you want to be displayed in Disassembly Window.

2. Right-click within the registers pane to open the dialog:

oShow Disassembly From - Shows the chosen register.

oModify - Allows you to change register values.

 

winIDEA will display the content of the register that is selected (green frame) regardless of where you right-clicked.

CoreRegisterContextmenu

 

 

Modify register dialog

Modify register dialog includes three representations of a register value:

Hexadecimal in the edit field

Decimal in the edit field

Binary using all the check-boxes; where every check-box represents a bit in the register.

 

If a value of one field is changed then other fields are updated accordingly.

 

Modify register dialog allows you to change:

General purpose registers

Registers containing status flags, execution information etc.; e.g. PSW (Program Status Word) Register for TriCore Architecture

This register can have predefined fields of single or multiple bits that represent a currently set value (e.g. TriCore has RES, IO and CDC fields). Each field is marked by a vertical square bracket denoting which bits belong to it.

A field can have predefined values, in which case a combo box with these values and their names. Selecting a value updates other fields in the dialog accordingly. If the you changes a certain bit of a field then the value in the combo box is also changed accordingly.

 

 

General purpose register example

1. Select the register and double click to open the Modify register dialog.

2. The register can be modified by entering a hexadecimal value or a bitwise value (if hexadecimal value is selected).

 

DisassemblyWindow-ModifyRegister

 

 

PSW Register with TriCore 32bit PSW register example

See in the example:

Multiple bits (RES, IO, CDC fields) marked by a vertical square brackets.

Predefined values with combo box

PSW-TriCore-register

 

 

Copyright© iSYSTEM AG Carl-Zeiss-Str.1 85247 Schwabhausen Germany