![]() |
HP-34C Storage Register Arithmetic & Programming - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: HP-34C Storage Register Arithmetic & Programming (/thread-220363.html) |
HP-34C Storage Register Arithmetic & Programming - Matt Agajanian - 05-07-2012 Hello all. I'm a little rusty on my HP-34C programming so, please fill me in. I tried to record STO x 2 and STO x .2 into program memory. STO x 2 recorded properly BUT STO x .2 only recorded the . (decimal point). I don't remember my HP-34C limitations but, was this restriction of addressing registers .0 to .9 only for storage/recall program instructions (thus, register arithmetic for address .0-.9 is not available in program memory)?
Edited: 7 May 2012, 10:31 p.m.
Re: HP-34C Storage Register Arithmetic & Programming - Luiz C. Vieira (Brazil) - 05-07-2012 Yep, that is correct: register arithmetic limited to R0 to R9, does not apply to R.0 to R.9. On the other hand, it also applies to RI and R(i) (indirect addressing), so if you use STO (+,-,×,÷) (i), you can access R.0 to R.9 with values from 10 to 19 stored in RI. Cheers.
Luiz (Brazil)
Re: HP-34C Storage Register Arithmetic & Programming - M. Joury - 05-07-2012 One quote from the manual (from the Museum DVD):
Storage Register Arithmetic. Registers Ro through Rg in your HP-34C So, to answer your question, you can't use .0 - .9 for storage register arithmetic. Either in program mode or in manual mode. Cheers, -Marwan
Re: HP-34C Storage Register Arithmetic & Programming - Gerson W. Barbosa - 05-07-2012 From the HP-34C Owner's Manual, page 22*:
Storage Register Arithmetic. Registers R0 through R9 in your HP-34C
* You can find it in the Museum's DVD #1.
Re: HP-34C Storage Register Arithmetic & Programming - M. Joury - 05-07-2012 HA! Pretty funny. All posting at the same time. Gerson and I even provided the same reference! Although my cut and paste did not come out as cleanly as his (edited?) version. Edit: We both even mention the Museum DVD. Cheers,
Marwan Edited: 7 May 2012, 11:04 p.m.
Re: HP-34C Storage Register Arithmetic & Programming - Matt Agajanian - 05-07-2012 Hello all.
Sorry if I'm not posting this under the correct heading. Thanks to all of you for the recap!
Re: HP-34C Storage Register Arithmetic & Programming - Gerson W. Barbosa - 05-07-2012 Quote: It did require some editing like formatting and replacing a few 'g' amd 'o' with '9' and '0', respectively. The searcheable and editable PDFs starting from the Museum DVDs version 7.00 are a blessing, despite the occasional need for minor manual adjustments. (Thanks, Dave!) Cheers,
Gerson.
Re: HP-34C Storage Register Arithmetic & Programming - M. Joury - 05-07-2012 Nothing wrong with where you posted. An you are welcome. Cheers,
-Marwan
Re: HP-34C Storage Register Arithmetic & Programming - Matt Agajanian - 05-07-2012 Thanks!
Re: HP-34C Storage Register Arithmetic & Programming - Luiz C. Vieira (Brazil) - 05-08-2012 I was in advantage, but in the wrong circumstances: I wrote by heart. 8^( Cheers.
Luiz (Brazil) Edited: 8 May 2012, 2:42 a.m.
Re: HP-34C Storage Register Arithmetic & Programming - Eric Smith - 05-08-2012 The reason for the limitation is that they use a single byte for each program line, so there can only be 256 instructions, including merged codes. Offering register arithmetic for more registers would have pushed them over the limit. They used 255 of the 256 codes, with one left over.
The 41C went to two-byte instructions for many of the register operations to avoid having this limitation.
Re: HP-34C Storage Register Arithmetic & Programming - Valentin Albillo - 05-08-2012 Quote: Same with the HP-15C, most instructions need just one byte, a few others need two (generally the most specialized or infrequently used ones).
Regards from V.
Re: HP-34C Storage Register Arithmetic & Programming - Gerson W. Barbosa - 05-08-2012 Hello Luiz, I only quoted the manual, so did Marwan who also added some words to answer Matt's question. Your concise reply, however, is complete and need not be complemented by any quotation from the manual. But you are a teacher! :-) Cheers,
Gerson.
Re: HP-34C Storage Register Arithmetic & Programming - M. Joury - 05-08-2012 Too true! I learn far more on this forum than I ever have the opportunity to contribute. Thank you to everyone for that! Cheers,
-Marwan
Re: HP-34C Storage Register Arithmetic & Programming - Matt Agajanian - 05-08-2012 Excellent point. That per-instruction byte count is the item I usually overlook.
|