add fastcall-ish macro for light functions

only does a stack frame setup with no locals space
This commit is contained in:
2024-10-17 20:35:12 -04:00
parent 520f877b05
commit 046821ff7a

View File

@@ -54,4 +54,18 @@
pop cx
pop ax
%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