From 96dcf55fe006297c36cd03313d3277c8f2df2acf Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Mon, 8 Feb 2010 17:21:04 +0000 Subject: [PATCH] fixed DEBUGF with %s and addressing with esp git-svn-id: svn://kolibrios.org@1396 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/fdo.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/fdo.inc b/kernel/trunk/fdo.inc index 787401aa7b..49414dd1cb 100644 --- a/kernel/trunk/fdo.inc +++ b/kernel/trunk/fdo.inc @@ -62,13 +62,11 @@ macro DEBUGS_N _sign,_num,[_str] { jmp ..label ..str db _str,0 ..label: -; add esp,4*8+4 -esp equ esp+4*8+4 mov edx,..str -esp equ _esp -; sub esp,4*8+4 else +esp equ esp+4*8+4 mov edx,_str +esp equ _esp end if if ~_num eq if _num eqtype eax