Keil Logo

Boolean operators

7.26 Boolean operators

Boolean operators perform standard logical operations on their operands. They have the lowest precedence of all operators.

In all three cases, both A and B must be expressions that evaluate to either {TRUE} or {FALSE}.
The following table shows the Boolean operators:

Table 7-8 Boolean operators

Operator
Alias
Usage
Explanation
:LAND:
&&
A:LAND:B
Logical AND of A and B
:LEOR:
 
A:LEOR:B
Logical Exclusive OR of A and B
:LOR:
||
A:LOR:B
Logical OR of A and B
Related concepts
Non-ConfidentialPDF file icon PDF versionARM DUI0379H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.