Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2381 → Rev 2382

/kernel/branches/net/fdo.inc
62,13 → 62,11
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
254,7 → 252,8
debug_func fdo_debug_outstr
debug_beginf
mov eax,1
.l1: dec esi
.l1:
dec esi
js .l2
movzx ebx,byte[edx]
or bl,bl
263,7 → 262,8
call ecx ; sys_msg_board
inc edx
jmp .l1
.l2: ret
.l2:
ret
debug_endf
 
debug_func fdo_debug_outdec
277,20 → 277,24
mov al,'-'
call fdo_debug_outchar
pop eax
@@: push 10
@@:
push 10
pop ecx
push -'0'
.l1: xor edx,edx
.l1:
xor edx, edx
div ecx
push edx
test eax,eax
jnz .l1
.l2: pop eax
.l2:
pop eax
add al,'0'
jz .l3
call fdo_debug_outchar
jmp .l2
.l3: ret
.l3:
ret
debug_endf
 
debug_func fdo_debug_outhex
301,7 → 305,8
add cl,8
shl cl,2
rol eax,cl
.l1: rol eax,4
.l1:
rol eax, 4
push eax
and eax,0x0000000F
mov al,[__fdo_hexdigits+eax]