HP Forums

Full Version: WP34s: flash problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I've reported 2 problems about programs in flash lately:

1) line numbers of programs in flash are one too high (program starts with 002)

2) executing a program in flash which ends with a RTN kicks the programcounter out of flash

Any idea if (and when) this will be fixed?

Franz

The line number will be fixed very soon.

The RTN issue is more complex and we've not decided what to do yet.


- Pauli

Quote:
The line number will be fixed very soon.

Not "very soon" - it's already done (as I just can see)! :-)
Quote:
The RTN issue is more complex and we've not decided what to do yet.

I'm just curious: what's the problem with it?

Won't it be logical to just reset the programcounter to the top of the current flash area? (as it is done in RAM, too)

Quote:
I'm just curious: what's the problem with it?

Won't it be logical to just reset the programcounter to the top of the current flash area? (as it is done in RAM, too)

There are two reasons to use a flash segment for a library. One is as a mini-application like your TVM code. In this case you want the PC to go back to the start of flash. The other is a library of utility subroutines, in this case you don't want the PC going back to the start of the flash segment.

So yes, it is logical to do what you're asking and it is also not logical at the same time.


And that is exactly all I'm going to say on this matter at this time.


- Pauli