Assembler Reference

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 3-10 shows the Boolean operators.

 

 

Table 3-10 Boolean operators

 

 

 

Operator

Usage

Explanation

 

 

 

LAND

A:LAND:B

Logical AND of A and B

 

 

 

LOR

A:LOR:B

Logical OR of A and B

 

 

 

LEOR

A:LEOR:B

Logical Exclusive OR of A and B

 

 

 

ARM DUI 0068B

Copyright © 2000, 2001 ARM Limited. All rights reserved.

3-31

Page 109
Image 109
ARM VERSION 1.2 manual shows the Boolean operators