Chapter 7. Expressions
41
+
Addition. If either argument is absolute, the result has the section of the other argument.
You may not add together arguments from different sections.
Subtraction. If the right argument is absolute, the result has the section of the left argument.
If both arguments are in the same section, the result is absolute. You may not subtract
arguments from different sections.
==
Is Equal To
Is Not Equal To
Is Less Than
Is Greater Than
=
Is Greater Than Or Equal To
=
Is Less Than Or Equal To
The comparison operators can be used as infix operators. A true results has a value of 1
whereas a false result has a value of 0. Note, these operators perform signed comparisons.
4. Lowest Precedence
&&
Logical And.
||
Logical Or.
These two logical operations can be used to combine the results of sub expressions. Note,
unlike the comparison operators a true result returns a value of 1 but a false results does
still return 0. Also note that the logical or operator has a slightly lower precedence than
logical and.
In short, it's only meaningful to add or subtract the offsets in an address; you can only have a defined
section in one of the two arguments.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved