Simple? programming question [WP34S]



#5

Greetings, I am trying to make the A,B,C & D hotkey feature of the WP34S work as unit conversion keys. I would like to have a value in the X register, then Hit the (A) key and have a custom conversion program ( MM to IN ) and/or hit the (B) key and have my IN to MM conversion run. Can I do this, or is not really the way the hotkey is supposed to work? Thanks in advance for your reply(s).


#6

This should work:

001 LBL A
002 SDR 001
003 cm->inches
004 RTN
005 LBL B
006 inches->cm
007 SDL 001
008 RTN

Edited: 15 Mar 2013, 11:17 a.m.


#7

I was using END instead of RTN.
It is working now.
Thank You Didier.


#8

Hotkeys are local labels (as in the HP-41C), so the ones separated from the current program counter position by an END are out of reach.

See the “Labels” section under “PROGRAMMING YOUR WP 34S” in the manual.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Simple Tetris. free for you to improve on cyrille de Brébisson 3 275 11-20-2013, 05:43 PM
Last Post: Erwin Ried
  [HP-Prime] Simple Game (Bugs) CompSystems 1 187 11-01-2013, 10:18 AM
Last Post: Han
  Simple Math Question Namir 2 173 08-09-2013, 06:13 PM
Last Post: Eddie W. Shore
  WP34s Programming woes Frederick Wahl 8 364 04-05-2013, 03:12 AM
Last Post: Frederick Wahl
  HP-42S with Electroluminescent screen and simple I/O port Jose Poyan 8 406 03-27-2013, 07:11 PM
Last Post: Jose Poyan
  Simple sample programs for the HP-41CX? Tom Lewis 5 251 03-25-2013, 07:11 PM
Last Post: Allen
  Good (simple?) calculation for benchmarking? Jedidiah Smith 28 1,105 03-01-2013, 05:13 PM
Last Post: Harald
  [wp34s] xtal question jerome ibanes 9 401 02-05-2013, 05:35 PM
Last Post: Massimo Gnerucci (Italy)
  HP 12 C simple interest calcuation sam 6 294 01-16-2013, 10:22 AM
Last Post: fhub
  A simple question about the HP41C or HP41CV Antoine M. Couëtte 6 315 12-16-2012, 04:06 AM
Last Post: Antoine M. Couëtte

Forum Jump: