Renesas H8S/2378F Informacje Techniczne Strona 58

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 170
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 57
34
3.8 Setting Registers
Set values of the program counter and the stack pointer before executing the program.
Select [Registers] from the [View] menu. The [Registers] window is displayed.
Figure 3.9 [Registers] Window
To change the value of the program counter (PC), double-click the value area in the
[Registers] window with the mouse. The following dialog box is then displayed, and the value
can be changed.
Figure 3.10 [Register] Dialog Box (PC)
Set the program counter to H’1000 in this tutorial program, and click the [OK] button.
To change the value of the stack pointer (SP), move the mouse pointer on the value to be
changed in the [ER7] value area in the [Registers] window and enter the new value by the
Przeglądanie stron 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 169 170

Komentarze do niniejszej Instrukcji

Brak uwag