mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
update asm.h from trunk
svn path=/branches/ros-amd64-bringup/; revision=46520
This commit is contained in:
parent
17d56ed0b9
commit
ccc4a57c6f
|
@ -6,11 +6,14 @@
|
|||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _USE_ML
|
||||
|
||||
/* Allow ".name" identifiers */
|
||||
OPTION DOTNAME
|
||||
|
||||
.586
|
||||
.MODEL FLAT
|
||||
|
||||
/* Hex numbers need to be in 01ABh format */
|
||||
#define HEX(x) 0##x##h
|
||||
|
||||
|
@ -48,7 +51,11 @@ ENDM
|
|||
ENDM
|
||||
|
||||
.code64 MACRO
|
||||
.code
|
||||
.code
|
||||
ENDM
|
||||
|
||||
.code32 MACRO
|
||||
.code
|
||||
ENDM
|
||||
|
||||
UNIMPLEMENTED MACRO name
|
||||
|
@ -108,6 +115,13 @@ ENDM
|
|||
/* MASM needs an END tag */
|
||||
#define END
|
||||
|
||||
.macro .MODEL model
|
||||
.endm
|
||||
|
||||
.macro .code
|
||||
.text
|
||||
.endm
|
||||
|
||||
/* Macros for x64 stack unwind OPs */
|
||||
|
||||
.macro .allocstack size
|
||||
|
@ -171,5 +185,6 @@ code = 1
|
|||
#define if .if
|
||||
#define endif .endif
|
||||
#define else .else
|
||||
#define elseif .elseif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue