Slide 14.1: Programming Laboratory V: calculating a string expression with parentheses Slide 14.3: Inline assembly code Home |
__asm
Directive
__asm
directive can be placed at the beginning of a single statement, or it can mark the beginning of a block of assembly language statements (called an asm block).
The syntax is
__asm statement __asm { statement-1 statement-2 ... statement-n }(There are two underline characters before “asm.”)
mov esi, buf ; initialize index register mov esi, buf // initialize index register mov esi, buf /* initialize index register */