Re: HP32S/SII micro challenge Message #2 Posted by W. Bruce Maguire II on 29 Oct 2001, 1:02 p.m., in response to message #1 by J-F Garnier
>Are you able to find a simple sequence that simulate CMPLXenter? (I mean a sequence which duplicates the complex number in x,y to z,t)
OK,
I'll start the ball rolling. I'm sure there are better ways, but I came up with
this sequence without any thought of minimizing steps. So, consider this a starting point:
KEYSTROKES: REGISTER CONTENTS:
----------- ------------------
<enter> x,x,y,z
<enter> x,x,x,y
- 0,x,y,y
X<>Y x,0,y,y
Rv (roll down) 0,y,y,x
+ y,y,x,x
Rv y,x,x,y
X<>Y x,y,x,y
NOTE: I didn't actually try this---so I hope there aren't any mistakes! :-)
Bruce.
|