Assembly
From ReactOS
| | This page is a candidate for speedy deletion If you disagree with its speedy deletion, please explain why on its talk page.
Watch also the Criteria for speedy deletion! |
To make our assembly code compatible with both the GNU assembler and the MS assembler, a kind of meta language needs to be implemented using a mixture of preprocessor macros and asm macros.
This is an attempt to create a compatible language. This is WIP.
| Directive | GAS | MASM/ML/ML64 | Meaning |
| .global <symbol> | .global <symbol> | PUBLIC <symbol> | Make <symbol> global. |
| .extern <symbol> | - | EXTERN | Tell the assembler that <symbol> is in an external file. |
| if <expression> | .if <expression> | if <expression> | Conditional compilation. |
| .align <alignment> | .align <alignment> | ALIGN <alignment> |

