somewhat of a cludge, but added a macro to save all caller saved regs
This commit is contained in:
@@ -38,4 +38,20 @@
|
||||
mov sp, bp
|
||||
pop bp
|
||||
%endmacro
|
||||
%endif
|
||||
|
||||
%ifnmacro __CDECL16_CALLER_SAVE
|
||||
%macro __CDECL16_CALLER_SAVE 0
|
||||
push ax
|
||||
push cx
|
||||
push dx
|
||||
%endmacro
|
||||
%endif
|
||||
|
||||
%ifnmacro __CDECL16_CALLER_RESTORE
|
||||
%macro __CDECL16_CALLER_RESTORE 0
|
||||
pop dx
|
||||
pop cx
|
||||
pop ax
|
||||
%endmacro
|
||||
%endif
|
||||
Reference in New Issue
Block a user