222
223
224
225
226
227
228
229
230
231
232
233
234
235
HP-41C Handbook
Fold Out
Contents
Introduction
Getting Started
Display Control
Memory Stack
HP-41C Functions
Storing Recalling
Functions
Functions cont.
Programming
Program Editing
Prg Interruptions
Prg with ALPHA
Branch. Looping
Subroutines
Ind. Operations
Flags
Flags cont.
A
-
B
-
C
-
D
-
E
-
F
-
G
Index
Function Index
Back Label
226
©Hewlett-Packard
Section 14: Flags continue
226
Start
Store 5 in R
01
Is –5 > R
01
?
Stop
Yes
Yes
No
No
Set flag 25
Divide 5 by R
01
Decrement R
01
Is flag 25 clear?
(Clear flag 25)
Yes
Yes
No
No
Display result
Keystrokes
Display
PRGM
g
GTO
·
·
00 REG 46
g
LBL
ALPHA
ERROR
ALPHA
01 LBL
T
ERROR
5
02 5 _
STO
01
03 STO 01
g
LBL
01
04 LBL 01
RCL
01
05 RCL 01
5
CHS
06 –5 _
g
X>Y?
07 X > Y?
g
RTN
08 RTN