Viewing A Specific Address; Viewing The Current Program Counter Address - Renesas SH-4A User Manual

Microcomputer development environment system
Hide thumbs Also See for SH-4A:
Table of Contents

Advertisement

5.2.5

Viewing a Specific Address

When you are viewing your program in the [Disassembly] window, you may want to look at
another area of your program's code. Rather than scrolling through a lot of code in the program,
you can go directly to a specific address. Select [Set Address...] from the popup menu, and the
dialog box shown in figure 5.17 is displayed.
Enter the address or label name in the edit box and either click on the [OK] button or press the
[Enter] key. The [Disassembly] window will be updated to show the code at the new address.
When an overloaded function or a class name is entered, the [Select Function] dialog box opens
for you to select a function.
5.2.6

Viewing the Current Program Counter Address

Wherever you can enter an address or value into the High-performance Embedded Workshop, you
can also enter an expression. If you enter a register name prefixed by the hash character, the
contents of that register will be used as the value in the expression. Therefore, if you open the [Set
Address] dialog box and enter the expression #pc, the [Source] or [Disassembly] window will
display the current PC address. It also allows the offset of the current PC to be displayed by
entering an expression with the PC register plus an offset, e.g., #PC+0x100.
156
Figure 5.17 [Set Address] Dialog Box

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh4al-dspE200f

Table of Contents