
Assembler Reference
3-30
Copyright © 2000, 2001 ARM Limited. All rights reserved.
ARM DUI 0068B
Relational operators
Table 3-9 shows the relational operators. These act on two operands of the same type to
produce a logical value.
The operands can be one of:
•
numeric
•
program-relative
•
register-relative
•
strings.
Strings are sorted using ASCII ordering. String
A
is less than string
B
if it is a leading
substring of string
B
, or if the left-most character in which the two strings differ is less
in string
A
than in string
B
.
Arithmetic values are unsigned, so the value of
0>-1
is
{FALSE}
.
Table 3-9 Relational operators
Operator
Usage
Explanation
=
A=B
A equal to B
>
A>B
A greater than B
>=
A>=B
A greater than or equal to B
<
A<B
A less than B
<=
A<=B
A less than or equal to B
/=
A/=B
A not equal to B
<>
A<>B
A not equal to B
Содержание Developer Suite
Страница 10: ...Preface x Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 110: ...Assembler Reference 3 32 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 185: ...ARM Instruction Reference ARM DUI 0068B Copyright 2000 2001 ARM Limited All rights reserved 4 75 Example MSR CPSR_f r5 ...
Страница 238: ...Thumb Instruction Reference 5 44 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 282: ...Vector Floating point Programming 6 44 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...
Страница 360: ...Index Index 6 Copyright 2000 2001 ARM Limited All rights reserved ARM DUI 0068B ...