The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

WP 34S - indirect addressing issue
Message #1 Posted by Gerson W. Barbosa on 22 Jan 2012, 4:57 p.m.

I've noticed indirect addressing doesn't work when the fractional part of the index is equal or greater than 0.5. Of course, by definition indices are integer numbers. However, as a convenience, HP calculators accept non-integer number as indices for indirect addressing and just ignore the fractional part. Is this a WP 34S bug or a feature? Thanks!

Gerson.

      
Re: WP 34S - indirect addressing issue
Message #2 Posted by Paul Dale on 22 Jan 2012, 5:06 p.m.,
in response to message #1 by Gerson W. Barbosa

It seems to be working:

    1 STO 01
    2 STO 02
    1.75 RCL-> X

Returns 1 as it should.

In other words, I'm not understanding the problem here. Any chance of a step by step reproduction please?

- Pauli

            
Re: WP 34S - indirect addressing issue
Message #3 Posted by Gerson W. Barbosa on 22 Jan 2012, 5:11 p.m.,
in response to message #2 by Paul Dale

Returns 2 in version 2.2 build 1975 (Emulator).

Gerson.

--------------

Also,

99 STO 99
99.99 RCL-> X

returns 99.99

Edited: 22 Jan 2012, 5:20 p.m.

                  
Re: WP 34S - indirect addressing issue
Message #4 Posted by Paul Dale on 22 Jan 2012, 5:39 p.m.,
in response to message #3 by Gerson W. Barbosa

You are correct. I tested in v3 which this is all working happily.

The proper solution is to upgrade ;-)

I've committed a fix. I don't know when the next v2.2 build will occur.

- Pauli

                        
Re: WP 34S - indirect addressing issue
Message #5 Posted by Gerson W. Barbosa on 22 Jan 2012, 5:54 p.m.,
in response to message #4 by Paul Dale

Quote:
The proper solution is to upgrade ;-)

As soon as I get a working USB-to-serial adapter. Or a new USB cable, if it is ever released :-)

Gerson.

Edited: 22 Jan 2012, 5:55 p.m.

                        
Re: WP 34S - indirect addressing issue
Message #6 Posted by Dominic Richens on 22 Jan 2012, 8:02 p.m.,
in response to message #4 by Paul Dale

Quote:

I don't know when the next v2.2 build will occur.


I could do one this week if someone can point me to the fix. I've yet to patch to serial port fix into 2.2 as well.

                              
Re: WP 34S - indirect addressing issue
Message #7 Posted by Paul Dale on 22 Jan 2012, 8:04 p.m.,
in response to message #6 by Dominic Richens

I committed the fix in the 2.2 branch.

- Pauli

            
Re: WP 34S - indirect addressing issue
Message #8 Posted by Dieter on 22 Jan 2012, 5:34 p.m.,
in response to message #2 by Paul Dale

Quote:
It seems to be working:
    1 STO 01
    2 STO 02
    1.75 RCL-> X

Returns 1 as it should.


I can confirm an error for version 2.2 1789 (emulator) where this returns 2.
The same works fine in version 3.0 2289 (also emulated). Here it returns 1, as it should.

Dieter

                  
Re: WP 34S - indirect addressing issue
Message #9 Posted by Gerson W. Barbosa on 22 Jan 2012, 5:46 p.m.,
in response to message #8 by Dieter

I was having trouble in a program that worked on the HP-42S but would not work on my outdated WP 34S.

Mine was flashed last July. Just received Eric's overlays (very nice on the former 20b!). A suitable USB-to-serial converter is still missing though.

Cheers,

Gerson.

Edited: 22 Jan 2012, 6:03 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall