HP Forums
HP 35S - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP 35S (/thread-16434.html)



HP 35S - The Don - 03-07-2021 03:47 AM

When I am in PROGRAM mode (ie writing a program) it accepts CLVAR, as a program line
When I try to use CLVARx, it asks me for the 3 digit register, after choosing 6, I enter say 040, but it does not enter the instruction (CLVARx) in the program steps

Why is that
How can i have a program step to clear indirect registers higher than say 40


RE: HP 35S - Gene - 03-07-2021 01:39 PM

Indirect registers on the 35S are allocated based on the highest numbered register that has a non-zero value.

If you want to set aside 100 indirect registers (which start at 00), then store a non-zero number in location 100 and you can use 00 - 99.

If you did this and 00 - 99 were all zero, then storing a 0 into indirect memory location 100 would de-allocate all the indirect registers.

Look at these two learning modules for the 35s for more examples, particularly the indirect data packing module.

Ignore the checksums.
Gene


[attachment=9180]
[attachment=9181]


RE: HP 35S - The Don - 03-08-2021 03:36 AM

Thx Gene. i see no reference to CLVARx in both links.
i have stored my non-zero number in register 237


RE: HP 35S - The Don - 03-08-2021 05:12 AM

CLVARx
the manual says that this "erases" all the indirect variables.
it does not use the term Registers, and yet asks for placeholders 000 to 800
the back of the manual, states that it clears "indirect variables .. to zero

So does it put a ZERO in the Variable
Is this Variable, the Registers 000 to 800, where x is the Registers above which the 0 is inserted

Why would this instruction not be accepted as a program step


RE: HP 35S - Gene - 03-08-2021 11:51 AM

Page 13-24 of the owners manual lists CLVARx as non-programmable.

Why? I don't know.


RE: HP 35S - The Don - 03-09-2021 01:28 AM

that explains it!!
Thanks heaps for that


RE: HP 35S - The Don - 03-10-2021 06:17 AM

is it true that there is no indirect addressing on the 11 Flags, like there is on the 41CX
does anyone no how many programming steps capacity of the HP35S


RE: HP 35S - Gene - 03-10-2021 06:15 PM

1) There are 12 flags on the HP-35S, numbered 0 through 11. Flags 0-4 are general and flags 5-11 are special purpose. The HP-35S is not as capable in many regards as the HP-41 series, and flags are not indirectly addressable.

2) The HP-35S has 26 labels (A - Z) that can be used for programs. Each program can have 999 steps within the program, such as A001 through A999. Given the scarcity of labels, line number addressing was added to allow branch points without using another label.

These are described in the attached HP-35S set of learning modules. Probably a good resource to read through and might save you some time.

[attachment=9194]


RE: HP 35S - The Don - 03-13-2021 02:37 AM

Thx for the training aid - interesting reading

EQN allows us to construct a lable like BLK
EQN
RCL B
RCL L
RCL K
ENTERand we have BLK

is there a way to Store (STO) this BLK in a variable like B, using B or -2, or some other way


RE: HP 35S - Gene - 03-13-2021 01:16 PM

Nope.


RE: HP 35S - The Don - 04-02-2021 01:18 AM

Alpha labels (messages) can be created using the EQN button
but how would i store the result in a variable
eg how would i store BLK in B
and then can i do that in a program


RE: HP 35S - Gene - 04-02-2021 01:42 AM

Seems like the same question you asked above ?

Sadly, the answer is still nope.


RE: HP 35S - The Don - 04-07-2021 11:02 AM

Help?
i am trying to get FC? IND 37 to process in a program
but it doesn't recognise the instruction
there is no FC? button, so i have to put in the instruction using Alpha

ALPHA
F
C
?
SPACE
I
N
D
SPACE
3
7
ALPHA
what am i doing wrong


RE: HP 35S - Gene - 04-07-2021 03:03 PM

The HP-35S does not have a FC? instruction at all.

It would really help you to go through the manual or all of the learning modules. I think it would reduce your frustration as you use the 35S.

Keying characters into a program by simply pressing the alpha key simply puts characters into a program - it does not put a program instruction.

Module on flags and some others are attached to this reply.

However, in a post above you indicated you were aware that the HP-35S only has 11 flags. How and why are you trying to address flag 37 (which does not exist) when you knew there were only 11 flags earlier in this thread?

Gene
[attachment=9339]
[attachment=9340]
[attachment=9341]


RE: HP 35S - Massimo Gnerucci - 04-07-2021 03:11 PM

(04-07-2021 03:03 PM)Gene Wrote:  However, in a post above you indicated you were aware that the HP-35S only has 11 flags. How and why are you trying to address flag 37 (which does not exist) when you knew there were only 11 flags earlier in this thread?

It's not FC? 37 but FC? IND 37


RE: HP 35S - Gene - 04-07-2021 03:43 PM

Oops. True, but there is no FC? instruction anyway.

ty for the correction!


RE: HP 35S - Didier Lachieze - 04-07-2021 04:03 PM

(04-07-2021 11:02 AM)The Don Wrote:  Help?
i am trying to get FC? IND 37 to process in a program
but it doesn't recognise the instruction

FC? is not supported on the 35S, only FS?, so you have to revert your test.
Also flag instructions SF, SF, FS? don't support indirect addressing, so you cannot do FS? IND 37. Btw indirection on the 35S is supported through the dedicated registers I and J via (I) and (J), you cannot use a numbered register and the functions supporting indirect addressing are limited to a subset of the ones using A through Z variables or labels. This is all described in the HP 35s user's guide page 14-20 "Indirectly Addressing Variables and Labels".

For instructions such as FC? IND 37 you need an HP-41 or a 42S.


RE: HP 35S - PedroLeiva - 12-24-2021 08:00 PM

Here something new literature for HP 35s calc about memory and working with equations
It looks like not everything is in the User´s Guide, or at least not all very clear. Pedro
https://www.politics-prose.com/book/9798715903525


RE: HP 35S - EdS2 - 12-26-2021 01:14 PM

(12-24-2021 08:00 PM)PedroLeiva Wrote:  Here something new literature for HP 35s calc about memory and working with equations
It looks like not everything is in the User´s Guide, or at least not all very clear. Pedro
https://www.politics-prose.com/book/9798715903525
For reference, that's "HP 35s Scientific Calculator: Programming, Using Memory And Working With Equations: Hp 35S Programmable Calculator" by Merri Meierotto, 68 pages, March 2021