In-Line assembler

An in-line assembler is a feature of a programming language that allows assembler code to be entered directly into the source file. For example, if you are editing Pascal source code, you normally work with Pascal instructions (such as WriteLn, or ClrScr) but Pascal also allows you to write assembler directly using an Asm...End block.

program inlinedemo;

begin
   writeln('Pascal statement!');
   asm
      {in-line assembler}
      mov eax,eax
   end ['eax'];
end.