HP34C Storage Register Arithmetic & Programming  Printable Version + HP Forums (https://archived.hpcalc.org/museumforum) + Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum1.html) + Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum2.html) + Thread: HP34C Storage Register Arithmetic & Programming (/thread220363.html) 
HP34C Storage Register Arithmetic & Programming  Matt Agajanian  05072012 Hello all. I'm a little rusty on my HP34C 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 HP34C 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: HP34C Storage Register Arithmetic & Programming  Luiz C. Vieira (Brazil)  05072012 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: HP34C Storage Register Arithmetic & Programming  M. Joury  05072012 One quote from the manual (from the Museum DVD):
Storage Register Arithmetic. Registers Ro through Rg in your HP34C 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: HP34C Storage Register Arithmetic & Programming  Gerson W. Barbosa  05072012 From the HP34C Owner's Manual, page 22*:
Storage Register Arithmetic. Registers R_{0} through R_{9} in your HP34C
^{* You can find it in the Museum's DVD #1.}
Re: HP34C Storage Register Arithmetic & Programming  M. Joury  05072012 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: HP34C Storage Register Arithmetic & Programming  Matt Agajanian  05072012 Hello all.
Sorry if I'm not posting this under the correct heading. Thanks to all of you for the recap!
Re: HP34C Storage Register Arithmetic & Programming  Gerson W. Barbosa  05072012 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: HP34C Storage Register Arithmetic & Programming  M. Joury  05072012 Nothing wrong with where you posted. An you are welcome. Cheers,
Marwan
Re: HP34C Storage Register Arithmetic & Programming  Matt Agajanian  05072012 Thanks!
Re: HP34C Storage Register Arithmetic & Programming  Luiz C. Vieira (Brazil)  05082012 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: HP34C Storage Register Arithmetic & Programming  Eric Smith  05082012 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 twobyte instructions for many of the register operations to avoid having this limitation.
Re: HP34C Storage Register Arithmetic & Programming  Valentin Albillo  05082012 Quote: Same with the HP15C, most instructions need just one byte, a few others need two (generally the most specialized or infrequently used ones).
Regards from V.
Re: HP34C Storage Register Arithmetic & Programming  Gerson W. Barbosa  05082012 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: HP34C Storage Register Arithmetic & Programming  M. Joury  05082012 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: HP34C Storage Register Arithmetic & Programming  Matt Agajanian  05082012 Excellent point. That perinstruction byte count is the item I usually overlook.
