HP 50g User Manual Page 703

Graphing calculator.

„°LL @) @ RUN@ @@DBG@
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
--- loop execution number 1 for k = 0
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
--- loop execution number 2 for k = 1
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
@SST @
Start the debugger. SL1 = 2.
SL1 = 0., SL2 = 2.
SL1 = 0., SL2 = 0., SL3 = 2. (DUP)
Empty stack (-> n S k)
Empty stack (
- start subprogram)
«
SL1 = 0., (start value of loop index)
SL1 = 2.(n), SL2 = 0. (end value of loop
index)
Empty stack (START – beginning of loop)
SL1 = 0. (k)
SL1 = 0. (SQ(k) = k
SL1 = 0.(S), SL2 = 0. (k
2
SL1 = 0. (S + k
SL1 = 1., SL2 = 0. (S + k
SL1 = 0.(k), SL2 = 1., SL3 = 0. (S + k
SL1 = 1.(k+1), SL2 = 0. (S + k
SL1 = 'k', SL2 = 1., SL3 = 0. (S + k
2
SL1 = 0. (S + k
SL1 = 'k']
SL1 = 'S', SL2 = 0. (S + k
Empty stack [Stores value of SL2 = 0, into SL1
= 'S']
Empty stack (NEXT – end of loop)
SL1 = 1. (k)
SL1 = 1. (SQ(k) = k
SL1 = 0.(S), SL2 = 1. (k
2
SL1 = 1. (S + k
SL1 = 1., SL2 = 1. (S + k
SL1 = 1.(k), SL2 = 1., SL3 = 1. (S + k
SL1 = 2.(k+1), SL2 = 1. (S + k
SL1 = 'k', SL2 = 2., SL3 = 1. (S + k
2
)
2
)
)
2
)
2
) [Stores value of SL2 = 1, into
2
)
2
)
2
)
)
2
)
2
2
)
)
2
)
2
)
)
2
)
Page 21-56  