Post Reply 
WP 34S mini-challenge
01-21-2014, 08:26 AM (This post was last modified: 01-21-2014 08:40 AM by Didier Lachieze.)
Post: #5
RE: WP 34S mini-challenge
Here is my solution:

Code:
01 LBL A
02 x²
03 RCL+ L
04 BASE 02
05 SR 01
06 DECM
07 RTN

There are at least two other variants that fit in the same number of steps and provide the same result while not disturbing the stack either 4 or 8 levels. Apart from X, the only register that is modified is L, but it doesn't hold the initial value of X.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP 34S mini-challenge - Gerson W. Barbosa - 01-21-2014, 02:02 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 07:29 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 07:59 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 08:26 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:34 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 12:20 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:51 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 12:24 PM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 11:08 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 08:24 AM
RE: WP 34S mini-challenge - Didier Lachieze - 01-21-2014 08:26 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:29 AM
RE: WP 34S mini-challenge - nsg - 01-21-2014, 10:46 PM
RE: WP 34S mini-challenge - Dieter - 01-22-2014, 01:12 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:55 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 12:29 PM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 01:20 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:48 AM
RE: WP 34S mini-challenge - Dieter - 01-21-2014, 08:43 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 10:13 PM
RE: WP 34S mini-challenge - walter b - 01-22-2014, 05:15 AM
RE: WP 34S mini-challenge - Thomas Klemm - 01-22-2014, 05:47 AM
RE: WP 34S mini-challenge - walter b - 01-22-2014, 07:04 AM
RE: WP 34S mini-challenge - walter b - 01-22-2014, 08:16 AM
RE: WP 34S mini-challenge - Thomas Klemm - 01-22-2014, 06:02 AM
RE: WP 34S mini-challenge - Dieter - 01-22-2014, 01:20 PM
RE: WP 34S mini-challenge - Thomas Klemm - 01-22-2014, 06:35 PM
RE: WP 34S mini-challenge - Dieter - 01-22-2014, 08:27 PM



User(s) browsing this thread: 6 Guest(s)