Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 625 → Rev 624

/programs/network/arpstat/trunk/arpstat.asm
17,7 → 17,6
dd 0x00000000 ; reserved=no extended header
include 'lang.inc'
include '..\..\..\macros.inc'
purge mov ; decrease kpack'ed size
START: ; start of execution
call draw_window ; at first, draw the window
55,13 → 54,15
; Fill the table with blanks
mov edi, text + 160
mov edx, text + 160
doBlank:
mov esi, blank
mov edi, edx
mov ecx, 40
rep movsb
add edx, 40
 
cmp edi, text + 560
cmp edx, text + 560
jne doBlank
pop ecx ; The number of entries
301,13 → 302,17
mov eax,0xffffffff ; close this program
mcall
 
jmp still
 
 
 
writeDecimal:
pusha
and eax, 0xff
mov ecx, eax
mov dl, 100
div dl
movzx ecx, ah
mov cl, ah
add al, '0'
mov [ebx], al
inc ebx
314,8 → 319,13
mov eax, ecx
mov dl, 10
div dl
add ax, '00'
mov [ebx], ax
mov cl, ah
add al, '0'
mov [ebx], al
inc ebx
mov al, ah
add al, '0'
mov [ebx], al
popa
ret
350,7 → 360,7
newline:
mcall
add ebx,16
add edx,esi
add edx,40
cmp [edx],byte 'x'
jnz newline
401,7 → 411,7
db ' xxx.xxx.xxx.xxx xxxxxxxxxxxx xxxx xxxx '
db ' xxx.xxx.xxx.xxx xxxxxxxxxxxx xxxx xxxx '
db ' xxx.xxx.xxx.xxx xxxxxxxxxxxx xxxx xxxx '
db 'x' ; <- END MARKER, DONT DELETE
db 'x <- END MARKER, DONT DELETE '
 
blank:
414,3 → 424,9
 
 
I_END: