|
@@ -328,15 +328,15 @@ proc_print_time:
|
328
|
328
|
mov rcx, hourslen - 1
|
329
|
329
|
mov rdi, hours + hourslen - 1
|
330
|
330
|
mov r10, 10
|
331
|
|
- print_time_hours_loop:
|
|
331
|
+ procpt_loop:
|
332
|
332
|
xor dl, dl
|
333
|
333
|
div r10
|
334
|
334
|
cmp rax, 0
|
335
|
|
- jne print_time_hours_print_mod
|
|
335
|
+ jne procpt_loopcont
|
336
|
336
|
cmp dl, 0
|
337
|
|
- je print_time_hours_loop_end
|
|
337
|
+ je procpt_loop_end
|
338
|
338
|
|
339
|
|
- print_time_hours_print_mod:
|
|
339
|
+ procpt_loopcont:
|
340
|
340
|
xchg al, dl
|
341
|
341
|
add al, 0x30
|
342
|
342
|
stosb
|
|
@@ -344,8 +344,8 @@ proc_print_time:
|
344
|
344
|
cmp rcx, 0
|
345
|
345
|
je fault
|
346
|
346
|
cmp rax, 0
|
347
|
|
- loopne print_time_hours_loop
|
348
|
|
- print_time_hours_loop_end:
|
|
347
|
+ loopne procpt_loop
|
|
348
|
+ procpt_loop_end:
|
349
|
349
|
|
350
|
350
|
; set rcx for 2 digits at least for hours
|
351
|
351
|
mov r9, hourslen - 2
|