User`s manual

SuperH Family E10A-USB Emulator Section 6 Tutorial
R20UT0870EJ1000 Rev. 10.00 Page 193 of 292
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.8 [Register] Dialog Box (PC)
Change the value of the stack pointer (SP) in the same way. Set H’00010000 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.9 [Register] Dialog Box (R15)