aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-tables.md5
-rw-r--r--docs/markdown/snippets/asm.md10
2 files changed, 11 insertions, 4 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md
index 7e0cf42..fde816d 100644
--- a/docs/markdown/Reference-tables.md
+++ b/docs/markdown/Reference-tables.md
@@ -38,6 +38,8 @@ These are return values of the `get_id` (Compiler family) and
| cython | The Cython compiler | |
| nasm | The NASM compiler (Since 0.64.0) | |
| yasm | The YASM compiler (Since 0.64.0) | |
+| ml | Microsoft Macro Assembler for x86 and x86_64 (Since 0.64.0) | msvc |
+| armasm | Microsoft Macro Assembler for ARM and AARCH64 (Since 0.64.0) | |
## Linker ids
@@ -169,7 +171,8 @@ These are the parameter names for passing language specific arguments to your bu
| Rust | rust_args | rust_link_args |
| Vala | vala_args | vala_link_args |
| Cython | cython_args | cython_link_args |
-| NASM | nasm_args | |
+| NASM | nasm_args | N/A |
+| MASM | masm_args | N/A |
All these `<lang>_*` options are specified per machine. See in
[specifying options per
diff --git a/docs/markdown/snippets/asm.md b/docs/markdown/snippets/asm.md
index a68f163..1055b53 100644
--- a/docs/markdown/snippets/asm.md
+++ b/docs/markdown/snippets/asm.md
@@ -1,11 +1,15 @@
-## New language `nasm`
+## New languages: `nasm` and `masm`
When the `nasm` language is added to the project, `.asm` files are
automatically compiled with NASM. This is only supported for x86 and x86_64 CPU
family. `yasm` is used as fallback if `nasm` command is not found.
-Note that GNU Assembly files usually have `.s` extension and were already built
-using C compiler such as GCC or CLANG.
+When the `masm` language is added to the project, `.masm` files are
+automatically compiled with Microsoft's Macro Assembler. This is only supported
+for x86, x86_64, ARM and AARCH64 CPU families.
+
+Note that GNU Assembly files usually have `.s` or `.S` extension and were already
+built using C compiler such as GCC or CLANG.
```meson
project('test', 'nasm')