fixed DEBUGF with %s and addressing with esp

git-svn-id: svn://kolibrios.org@1396 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2010-02-08 17:21:04 +00:00
parent 63b44af949
commit 96dcf55fe0
1 changed files with 2 additions and 4 deletions

View File

@ -62,13 +62,11 @@ macro DEBUGS_N _sign,_num,[_str] {
jmp ..label jmp ..label
..str db _str,0 ..str db _str,0
..label: ..label:
; add esp,4*8+4
esp equ esp+4*8+4
mov edx,..str mov edx,..str
esp equ _esp
; sub esp,4*8+4
else else
esp equ esp+4*8+4
mov edx,_str mov edx,_str
esp equ _esp
end if end if
if ~_num eq if ~_num eq
if _num eqtype eax if _num eqtype eax