User`s manual

SuperH Family E10A-USB Emulator for Multi-core Microcomputers Section 6 Tutorial SH-2A
R20UT0363EJ0500 Rev. 5.00 Page 159 of 296
Aug 10, 2012
To change the value of the program counter (PC), double-click the value area in the [Register]
window with the mouse. The following dialog box is then displayed, and the value can be
changed. Set the program counter to H’00000800 in this tutorial program, and click the [OK]
button.
Figure 6.12 [Register] Dialog Box (PC)
Change the value of the stack pointer (SP) in the same way. Set H’FFF90000 for the value of
the stack pointer in this tutorial program.
When using the MCU with flash memory, specify the end address of the internal RAM for the
stack pointer (SP). The internal RAM area differs depending on the MCU. Refer to the
hardware manual of the MCU used.
Figure 6.13 [Register] Dialog Box (R15)