HP 15C Instrukcja Użytkownika Strona 111

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 288
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 110
Section 10: The Index Register and Loop Control 111
False (nnnnn > xxx)
True (nnnnn xxx)
instruction
´sV
loop
t. 1
Instruction
exit loop
For e: given nnnnn.xxxyy, decrement nnnnn to nnnnn - yy, compare
it to xxx, and skip the next program line if the new value satisfies nnnnn 
xxx. This allows you to exit a loop at this point when nnnnn becomes less
than or equal to xxx.
For example, loop iterations will alter these control numbers as follows:
Iterations
Operation
0
1
2
3
4
I
0.00602
2.00602
4.00602
6.00602
8.00602
(skip next
line)
e
6.00002
4.00002
2.00002
0.00002
(skip next
line)
Examples
Examples: Register Operations
Storing and Recalling
Display
Clears all storage registers.
12.3456
12.3456
Stores in R
I
.
2.6458
2.6458
Storage in R
.2
by indirect addressing
(R
I
= 12.3456).
12.3456
Recalls contents of R
I
.
Przeglądanie stron 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 287 288

Komentarze do niniejszej Instrukcji

Brak uwag