Post Reply 
AND/OR/XOR on non-16C calcs
03-17-2019, 09:16 AM
Post: #7
RE: AND/OR/XOR on non-16C calcs
(03-16-2019 10:27 PM)grsbanks Wrote:  NOT(A AND B) = NOT(A) OR NOT(B)

So, are both flags 1 and 2 set?

FS? 1
FC? 2
DO_IF_NOT_BOTH_SET
DO_IF_BOTH_SET

You may add an always-false test to get the usual "do if true" rule:

FS? 01
FC? 02
FS? 54
DO IF BOTH SET

Or, if you know that x cannot be negative at this point:

FS? 01
FC? 02
X<0?
DO IF BOTH SET

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: AND/OR/XOR on non-16C calcs - Dieter - 03-16-2019, 07:17 PM
RE: AND/OR/XOR on non-16C calcs - grsbanks - 03-16-2019, 10:27 PM
RE: AND/OR/XOR on non-16C calcs - Dieter - 03-17-2019 09:16 AM
RE: AND/OR/XOR on non-16C calcs - Dieter - 03-17-2019, 04:57 PM



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