Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə283/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   279   280   281   282   283   284   285   286   ...   294
DelphiLanguageGuide

Predefined type symbols
Symbol
Type
BYTE
1
WORD
2
DWORD 4
QWORD 8
TBYTE
10
239


Expression Operators
The built-in assembler provides a variety of operators. Precedence rules are different from that of the Delphi
language; for example, in an asm statement, AND has lower precedence than the addition and subtraction operators.
The following table lists the built-in assembler's expression operators in decreasing order of precedence.
Precedence of built-in assembler expression operators
Operators
Remarks
Precedence
&
highest
(... ), [... ],., HIGH, LOW
+-
unary + and -
:
OFFSET, TYPE, PTR, */, MOD, SHL, SHR, +binary + and -
NOT, AND, OR, XOR
lowest
The following table defines the built-in assembler's expression operators.
Definitions of built-in assembler expression operators
Operator Description
&
Identifier override. The identifier immediately following the ampersand is treated as a user-defined symbol, even
if the spelling is the same as a built-in assembler reserved symbol.
(... )
Subexpression. Expressions within parentheses are evaluated completely prior to being treated as a single
expression element. Another expression can precede the expression within the parentheses; the result in this case
is the sum of the values of the two expressions, with the type of the first expression.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   279   280   281   282   283   284   285   286   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin