Intel syntax is one of the formats for writing mnemonics for processor instructions. Intel syntax is used in the Intel documentation [1] , in assemblers for MS-DOS and Windows ( MASM , TASM , built-in assembler Visual Studio , etc.)
Features:
- The receiver is located to the left of the source.
- The name of the registers is reserved (you cannot use labels with the names eax, ebx, etc.)
For example, code
mov eax , ebx
sends the value contained in ebx to the eax register , which is functionally equivalent to the following code:
push ebx ; put the ebx value on the stack
pop eax ; write value from stack to eax
It is popular largely due to the fact that Intel is used in the documentation for its processors .
See also
- AT & T syntax
- Assembler
Notes
- ↑ Intel® 64 and IA-32 Architectures Software Developer Manuals . Date of treatment February 2, 2012.