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


Inline Assembly Code (Win32 Only)



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə269/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   265   266   267   268   269   270   271   272   ...   294
DelphiLanguageGuide

Inline Assembly Code (Win32 Only)
This section describes the use of the inline assembler on the Win32 platform.
225


Using Inline Assembly Code (Win32 Only)
The built-in assembler allows you to write assembly code within Delphi programs. The inline assembler is available
only on the Win32 Delphi compiler. It has the following features:
Allows for inline assembly.
Supports all instructions found in the Intel Pentium 4, Intel MMX extensions, Streaming SIMD Extensions (SSE),
and the AMD Athlon (including 3D Now!).
Provides no macro support, but allows for pure assembly function procedures.
Permits the use of Delphi identifiers, such as constants, types, and variables in assembly statements.
As an alternative to the built-in assembler, you can link to object files that contain external procedures and functions.
See the topic on External declarations for more information. If you have external assembly code that you want to
use in your applications, you should consider rewriting it in the Delphi language or minimally reimplement it using
the inline assembler.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   265   266   267   268   269   270   271   272   ...   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