Optimized Stack Operations
|
02-26-2019, 11:21 AM
Post: #23
|
|||
|
|||
RE: Optimized Stack Operations
(02-26-2019 10:40 AM)deetee Wrote: You are right: Every ROTup command can be substituted by a SWAP Except for the last one. That needs to be a ROTup. Quote:(which is slightly faster than a ROT), That's why I asked. Quote:but I don't see any saving of stack operation steps. Not sure if understand that correctly, but I replaced CHS + by – and INV * by /. Therefore 2 steps are saved. (02-26-2019 10:52 AM)Paul Dale Wrote: As for stack operations, it might be worth implementing a few extra ones natively. I'd vote for OVER. That's useful and expensive to implement only with ENTER, SWAP, ROTup and ROTdown. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)