; vi:filetype=nasm ts=8 sts=8 sw=8: extern dbglog_str extern dbglog_str_num %macro dbglog 1 mov esi, %%msg call dbglog_str section .data %%msg: db %1,0 section .text %endmacro %macro dbglog 2 mov esi, %%msg mov eax, %2 call dbglog_str_num section .data %%msg: db %1,0 section .text %endmacro