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

Non-ConfidentialPDF file icon PDF versionARM DUI0473M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.