The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

HP 41CV/Programming
Message #1 Posted by Kevin on 24 Aug 2006, 2:08 p.m.

Hi All, I'm attempting to learn HP41/CV programming for fun - mostly be reading the "HP41C Owner's Handbook and Programming Guide". I've entered, run and deleted numerous program without problem. However, I appear to have left several "End" statements in registers that are taking memory space even though I've deleted all named programs. Is there an easy way to delete these entraneous lines - or barring that - to just clear all memory and/or set the calculator back to it's default memory allocations with the memory spaces cleared?

Thanks,

Kevin

      
Re: HP 41CV/Programming
Message #2 Posted by Bill (Smithville, NJ) on 24 Aug 2006, 3:03 p.m.,
in response to message #1 by Kevin

Hi Kevin,

To do a full reset:

Turn Calculator off.
Press and hold the Back Arrow (Clear) key.
Press and release the ON key.
Release the Back Arrow Key.

You should see "MEMORY LOST" in the display.

Bill

      
Re: HP 41CV/Programming
Message #3 Posted by Thomas Okken on 24 Aug 2006, 4:09 p.m.,
in response to message #1 by Kevin

Go to the first of the offending ENDs, by doing CATALOG 1 and pressing R/S when the first END appears. Then switch to PRGM mode and press [<-].
Deleting an END causes the following program to be joined to the current one, so if you have a sequence of ENDs in memory, you can delete them one by one, starting with the first, without needing to use CATALOG 1 to jump to them.

- Thomas

            
Re: HP 41CV/Programming
Message #4 Posted by Kevin on 24 Aug 2006, 5:17 p.m.,
in response to message #3 by Thomas Okken

Bill, Thomas - Thanks to both of you! Most apprec.

Kevin

      
Re: HP 41CV/Programming
Message #5 Posted by Vieira, L. C. (Brazil) on 24 Aug 2006, 5:21 p.m.,
in response to message #1 by Kevin

HI, Kevin;

just to identify the origin of the isolated "END" in the HP41.

I know that when you perform some program-recovering operations with the card reader, wand and other mass storage devices, an END statement is automatically added to the last program in memory. It happens that there is always a last program in the HP41 memory (I guess it is related to the OS design), and it occupies 3 bytes (the .END.). So, it is not unusual to find some empty programs in memory when reading programs in magnetic cards, reading them with the wand (barcoded) or recovering with the HPIL resources. I am not sure right now about which operations actually do that, though.

I'm adding this post because I'm wondering about where did these empty programs come from... Thus, you can avoid this to happen in the future.

Any ideas?

Cheers.

Luiz (Brazil)

            
Re: HP 41CV/Programming
Message #6 Posted by Kevin on 24 Aug 2006, 6:13 p.m.,
in response to message #5 by Vieira, L. C. (Brazil)

Hm... I'm not sure where they came from - but I don't have any external devices. I might have deleted a fixed number of lines using the DEL command - and somehow left the .END in there. Not sure...


[ Return to Index | Top of Index ]

Go back to the main exhibit hall