2023-05-17 07:51:10 +00:00
|
|
|
; file: base.inc
|
2023-01-15 19:25:25 +00:00
|
|
|
extern log_impl
|
|
|
|
|
2023-05-17 07:51:10 +00:00
|
|
|
; macro: LOG
|
2023-01-17 10:35:11 +00:00
|
|
|
%macro LOG 1-*
|
|
|
|
%rep %0
|
|
|
|
%rotate -1
|
2023-01-15 19:25:25 +00:00
|
|
|
push %1
|
2023-01-17 10:35:11 +00:00
|
|
|
%endrep
|
2023-01-15 19:25:25 +00:00
|
|
|
push file
|
|
|
|
|
|
|
|
call log_impl
|
|
|
|
|
2023-01-17 10:35:11 +00:00
|
|
|
add esp, 4
|
|
|
|
%rep %0
|
|
|
|
add esp, 4
|
|
|
|
%endrep
|
2023-01-15 19:25:25 +00:00
|
|
|
%endmacro
|