option-cpu.md
June 2, 2025 ยท View on GitHub
Asmc Macro Assembler Reference
option -0..10[p]
Selects CPU/instruction set. Most values correspond to cpu directives.
| Option | CPU directive | Defines |
| -0 | .8086 (default) | |
| -1 | .186 | __186__ |
| -2 | .286 | __286__ |
| -3 | .386 | __386__ |
| -4 | .486 | __486__ |
| -5 | .586 | __586__ |
| -6 | .686 | __686__ |
| -7 | .686 and .MMX (P2) | |
| -8 | .686 and .MMX (P3) | __SSE__ |
| -9 | .686 and .MMX (P4) | __SSE2__ |
| -10 | .x64 (x86-64 cpu) | __P64__ |
[p] allows privileged instructions.
These options are not available in ASMC64.