[UCRT][ASM] Make asm code GCC compatible

This commit is contained in:
Timo Kreuzer 2024-10-21 19:43:26 +03:00
parent 4fec953e6e
commit 94eb475177
22 changed files with 698 additions and 555 deletions

View file

@ -316,8 +316,10 @@ ENDM
.endm
/* MASM compatible ALIGN */
#define ALIGN .align
#define align .align
.macro align x
.align x
.endm
#define ALIGN align
/* MASM compatible REPEAT, additional ENDR */
#define REPEAT .rept
@ -352,6 +354,7 @@ ENDM
/* MASM needs an END tag */
#define END
#define end
.macro .MODEL model
.endm
@ -359,6 +362,7 @@ ENDM
.macro .code
.text
.endm
#define CODESEG .code
.macro .const
.section .rdata