add fastcall-ish macro for light functions
only does a stack frame setup with no locals space
This commit is contained in:
@@ -54,4 +54,18 @@
|
|||||||
pop cx
|
pop cx
|
||||||
pop ax
|
pop ax
|
||||||
%endmacro
|
%endmacro
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifnmacro __FASTCALL16_ENTRY
|
||||||
|
%macro __FASTCALL16_ENTRY 0
|
||||||
|
push bp
|
||||||
|
mov bp, sp
|
||||||
|
%endmacro
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifnmacro __FASTCALL16_EXIT
|
||||||
|
%macro __FASTCALL16_EXIT 0
|
||||||
|
mov sp, bp
|
||||||
|
pop bp
|
||||||
|
%endmacro
|
||||||
%endif
|
%endif
|
||||||
Reference in New Issue
Block a user