Post Reply 
Is there a RPN operation that does nothing? (NOP)
01-08-2018, 04:09 PM
Post: #22
RE: Is there a RPN operation that does nothing? (NOP)
(01-08-2018 01:32 PM)Thomas Okken Wrote:  is inelegant; how about

1
STO+ 00

which has the virtue of making it absolutely clear what the programmer intends.

But it's even less of a NOP than any of the other solutions put forward because:
  • The contents of the T register is lost
  • The value 1 is injected into X
With the other options, the stack is left intact.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Is there a RPN operation that does nothing? (NOP) - grsbanks - 01-08-2018 04:09 PM



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