Renamed labels
This commit is contained in:
parent
e5d5f69a35
commit
18814e64ce
1 changed files with 6 additions and 6 deletions
12
wtfstopw.asm
12
wtfstopw.asm
|
@ -328,15 +328,15 @@ proc_print_time:
|
|||
mov rcx, hourslen - 1
|
||||
mov rdi, hours + hourslen - 1
|
||||
mov r10, 10
|
||||
print_time_hours_loop:
|
||||
procpt_loop:
|
||||
xor dl, dl
|
||||
div r10
|
||||
cmp rax, 0
|
||||
jne print_time_hours_print_mod
|
||||
jne procpt_loopcont
|
||||
cmp dl, 0
|
||||
je print_time_hours_loop_end
|
||||
je procpt_loop_end
|
||||
|
||||
print_time_hours_print_mod:
|
||||
procpt_loopcont:
|
||||
xchg al, dl
|
||||
add al, 0x30
|
||||
stosb
|
||||
|
@ -344,8 +344,8 @@ proc_print_time:
|
|||
cmp rcx, 0
|
||||
je fault
|
||||
cmp rax, 0
|
||||
loopne print_time_hours_loop
|
||||
print_time_hours_loop_end:
|
||||
loopne procpt_loop
|
||||
procpt_loop_end:
|
||||
|
||||
; set rcx for 2 digits at least for hours
|
||||
mov r9, hourslen - 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue