Post Reply 
Free42 OVER stack operation
11-28-2022, 07:14 AM (This post was last modified: 11-28-2022 07:22 AM by Thomas Klemm.)
Post: #4
RE: Free42 OVER stack operation
Here are some others:

SWAP:  X<>Y
DUP:   RCL ST X | ENTER
DROP:  R↓ | CLX  +
OVER:  RCL ST Y
ROT:   X<>Y  X<> ST Z
UNROT: X<> ST Z  X<>Y
NIP:   X<>Y  R↓
TUCK:  X<>Y  RCL ST Y
2DUP:  RCL ST Y  RCL ST Y
2DROP: R↓  R↓
2SWAP: R↓  R↓

Not all of them do exactly what they do on the HP-50g.
I couldn't come up with a simple DROP that saves X in LASTX and duplicates T.
But often that is not needed.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Free42 OVER stack operation - kostrse - 11-28-2022, 05:20 AM
RE: Free42 OVER stack operation - Thomas Klemm - 11-28-2022 07:14 AM
RE: Free42 OVER stack operation - kostrse - 11-29-2022, 05:14 AM
RE: Free42 OVER stack operation - SammysHP - 11-29-2022, 05:21 AM
RE: Free42 OVER stack operation - kostrse - 11-29-2022, 05:42 AM



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