No changes between revisions
/kernel/trunk/fdo.inc |
252,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 |
261,7 → 262,8 |
call ecx ; sys_msg_board |
inc edx |
jmp .l1 |
.l2: ret |
.l2: |
ret |
debug_endf |
|
debug_func fdo_debug_outdec |
275,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 |
299,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] |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |