IPB

> asm (reserved word)
Форум
Загрузка...
 
Час быка
Час быка
Карта Интернета
Internet Map
Яндекс.Метрика

Language:
Русский
English

   asm (reserved word)


Accesses the built-in assembler.

Syntax

   asm
     AssemblerStmt <Separator AssemblerStmt>
   end

where

  - AssemblerStmt is an assembler statement
  - Separator is a semicolon, a new-line, or a Pascal comment

Remarks

When placing multiple assembler statements on a single line, separate them with semicolons. Multiple assembler statements on separate lines do not require a semicolon.

In an asm statement, a semicolon does not indicate that the rest of the line is a comment. Comments must be Pascal style, using { and } or (* and *).

Register Use

The rules of register use in an asm statement are the same as those of an external procedure or function.

An asm statement must preserve these registers:

 BP   SP
 SS   DS

An asm statement can freely modify these registers:

 AX   BX
 CX   DX
 SI   DI
 ES   Flags

On entry to the asm statement, the built-in assembler knows only the BP, SP, SS, and DS registers; it can assume nothing else about register contents.

 
 К началу страницы 
Тэги: asm
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 


-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"