WP34S program question



#4

I searched, but couldn't find an answer to this. Sorry if it is a silly question, but I'm new to keystroke programming. Using the HP42S manual as a guide I was playing with some simple programs. The end of each program is an "END" command. I can't see how to enter this. I assume that this separates the programs. What am I missing?

Also, it says that I should be able to "GTO . ." and go to the last unused line of program memory. When I do it on my WP34S it goes to the top line STEP 000. When I add a label to the first program I write it goes to line STEP 001. Is the first line actually STEP 000?

Thanks for any assistance.
Mike M.


#5

Can you tell us what version you are using? You will find it in the X.FCN catalogue under V. I fear you are using a Version 2.x WP 34S which does not offer END.


#6

Thanks Marcus. That must be the problem. I'm running 2.2 2738.
That was the latest that matched my overlay (I think).

I have some V3 overlays. I guess it's time to start peeling :)

For V2.2, what keeps the programs from running sequentially?
Thanks
Mike M.


#7

Quote:
For V2.2, what keeps the programs from running sequentially?

What is your problem? I do not really understand.

#8

Thank you everyone. Now I understand.
I'm sorry for my poor description of the problem.
I'm off to peel stickers!

#9

END is a V3 feature. To keep programs separate in v2.2, use RTN.

Les

#10

Quote:
I have some V3 overlays. I guess it's time to start peeling :)

Do it. V3 has a richer function set, a more user-friendly keyboard layout, and a much simpler and more rational approach to flash library organization.

Despite the build-up around the delicacy of the overlay placement operation, I found it pretty fast and effortless. It's time to upgrade!

LEs

#11

Mike,

On the HP-41C and HP-42S, each program has its own separate program memory space within program memory. On these machines pressing GTO.. packs existing program memory and creates a new empty space to insert a new program.

The WP34S works differently. On the WP34S all programs are located in one common memory space. The END instruction (added in V3.0 or newer) only serves as a marker (separator) for local label searches and for local variables. Also pressing GTO.. in PGM mode on the WP34S will move you to the start of program memory (Step 000). At this point you can just start keying in a new program and it will be inserted into the beginning of program memory. Refer to the Programming section (around P33) of the V30 Owner's Manual for more detailed information.


#12

I thought packing was automatic on the 42S unlike the 41.

Edited: 4 Apr 2012, 7:48 p.m.


#13

Matt

If I remember correctly, packing occurs automatically if you enter a key step and memory is full. Packing also occurs when you use the GTO.. sequence in PGM Mode. See http://www.hpmuseum.org/prog/hp41prog.htm

#14

GTO .. activate the packing on the 42S. That's what I remember. Okay. Thanks.

#15

Steve, not quite correct. GTO .. should bring you to the end of program memory, directly on the END statement. When you start typing the new instruction will be added after the END and another END will be automatically inserted after it to ensure proper program termination.


#16

Marcus,

Thank you for the clarification. I misunderstood the description of GTO .. On page 52 of the current WP34S Owners Manual. Everytime I use my WP34s I am still stunned at how much it can do.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 856 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  program print in wp34s Andrew Nikitin 13 1,344 07-22-2013, 10:11 PM
Last Post: Andrew Nikitin
  WP34s program submission: Quadratic fit Andrew Nikitin 2 474 06-13-2013, 02:44 AM
Last Post: Paul Dale
  Simple? programming question [WP34S] Shawn Gibson 3 549 03-15-2013, 11:56 AM
Last Post: Didier Lachieze
  [wp34s] xtal question jerome ibanes 9 989 02-05-2013, 05:35 PM
Last Post: Massimo Gnerucci (Italy)
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 430 10-04-2012, 04:59 PM
Last Post: Paul Dale
  more question regarding complex operations using complex number on wp34s wildpig 22 1,647 09-02-2012, 12:54 PM
Last Post: Walter B
  42s program question David Persinger (US) 5 601 08-09-2012, 06:34 AM
Last Post: David Persinger (US)
  WP34S solver question Reth 22 1,953 07-13-2012, 06:55 PM
Last Post: Paul Dale
  WP34s Flash Question rgray 18 1,495 06-19-2012, 03:20 AM
Last Post: Cristian Arezzini

Forum Jump: