Assembly - Grammar (Syntax)

> Procedural Languages > Language - Assembly (asm)

1 - About

Code - Grammar (Lexical) in Assembly.

An Assembly language script is the input expected by an assembler (compiler). The assembler defines then the precise syntax of an assembler script.

Advertising

3 - Syntax

Every assembler shares a common set of syntax rule that comes from one of this two syntax:

The syntax is assembler dependent and have the following components:

Example:

Script example:

Label1:
        mov ax, bx
        add ax, bx
        jmp Label3
Label2:
        mov ax, cx
...
Advertising
lang/assembly/grammar.txt · Last modified: 2019/01/02 20:48 by gerardnico