Keil Logo Arm Logo

Assembler User Guide

Boolean operators

Boolean operators

These are the operators with the lowest precedence. They perform the standard logical operations on their operands.

In all three cases both A and B must be expressions that evaluate to either {TRUE} or {FALSE}.

Table 32 shows the Boolean operators.

Table 32. 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


Show/hideSee also

Copyright © 2007-2008, 2011-2012 ARM. All rights reserved.ARM DUI 0379D
Non-ConfidentialID062912

Keil logo

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.