HP Forums
WP 34S - indirect addressing issue - 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: WP 34S - indirect addressing issue (/thread-209778.html)



WP 34S - indirect addressing issue - Gerson W. Barbosa - 01-22-2012

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 - Paul Dale - 01-22-2012

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 - Gerson W. Barbosa - 01-22-2012

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 - Dieter - 01-22-2012

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 - Paul Dale - 01-22-2012

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 - Gerson W. Barbosa - 01-22-2012

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.


Re: WP 34S - indirect addressing issue - Gerson W. Barbosa - 01-22-2012

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 - Dominic Richens - 01-22-2012

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 - Paul Dale - 01-22-2012

I committed the fix in the 2.2 branch.

- Pauli