Skip to content

Commit bac4ac1

Browse files
authored
Merge duplicate sentences about _asm synonym in __asm reference
1 parent 21903da commit bac4ac1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/assembler/inline/asm.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The **`__asm`** keyword invokes the inline assembler and can appear wherever a C
2828

2929
## Remarks
3030

31-
If used without braces, the **`__asm`** keyword means that the rest of the line is an assembly-language statement. If used with braces, it means that each line between the braces is an assembly-language statement. For compatibility with previous versions, **`_asm`** is a synonym for **`__asm`**.
31+
If used without braces, the **`__asm`** keyword means that the rest of the line is an assembly-language statement. If used with braces, it means that each line between the braces is an assembly-language statement. For compatibility with previous versions, **`_asm`** is a synonym for **`__asm`** unless compiler option [`/Za` (Disable language extensions)](../../build/reference/za-ze-disable-language-extensions.md) is specified.
3232

3333
Since the **`__asm`** keyword is a statement separator, you can put assembly instructions on the same line.
3434

@@ -42,8 +42,6 @@ didn't cause native code to be generated when compiled with **/clr**; the compil
4242

4343
`__asm int 3` now results in native code generation for the function. If you want a function to cause a break point in your code and if you want that function compiled to MSIL, use [__debugbreak](../../intrinsics/debugbreak.md).
4444

45-
For compatibility with previous versions, **`_asm`** is a synonym for **`__asm`** unless compiler option [/Za \(Disable language extensions)](../../build/reference/za-ze-disable-language-extensions.md) is specified.
46-
4745
## Example
4846

4947
The following code fragment is a simple **`__asm`** block enclosed in braces:

0 commit comments

Comments
 (0)