Post Reply 
(15c)(35s)(some other RPN) Flags toggle / inverting
04-26-2018, 04:02 PM (This post was last modified: 04-26-2018 04:02 PM by SlideRule.)
Post: #2
RE: (15c)(35s)(some other RPN) Flags toggle / inverting
… searching for the best method to toggle a flag, ie to invert it … conventional language that implements booleans … FLAG1 := NOT(FLAG1) … But in RPN, there is no way to do this easily…

The (some other RPN) refrenece in your post omits the 41 & its' inherent command(s):
FC?C Check whether flag nn is clear and then clear
&
FS?C Check whether flag nn is set and then clear
Simply a technical point of reference.

BEST!
SlideRule
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (15c)(35s)(some other RPN) Flags toggle / inverting - SlideRule - 04-26-2018 04:02 PM



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