Thursday, March 3, 2011

The Art of Assembly Language Programming

CHAPTER TWO:
BOOLEAN ALGEBRA (Part 1)


Priority Rules for Logical or Boolean Operations:
If several different operators appear in a single boolean expression,
the result of the expression depends on the precedence of the
operators. We'll use the following precedences (from highest to
lowest) for the boolean operators: parenthesis, logical NOT, logical
AND, then logical OR. The logical AND and OR operators are left
associative. If two operators with the same precedence are adjacent,
you must evaluate them from left to right. The logical NOT operation
is right associative, although it would produce the same result using
left or right associativity since it is a unary operator.
found on the web site
http://oopweb.com/Assembly/Documents/ArtOfAssembly/VolumeFrames.ht
ml?/Assembly/Documents/ArtOfAssembly/Volume/Chapter_2/CH02-1.html

No comments:

Post a Comment