Commit 63329256 authored by John van Groningen's avatar John van Groningen

port to 64 bit windows

parent 9f93bd7e
all: copy_graph_to_string.obj copy_graph_to_string_interface.obj copy_string_to_graph.obj copy_string_to_graph_interface.obj
copy_graph_to_string.obj: copy_graph_to_string.c
cl /nologo /c /O2 /Gy copy_graph_to_string.c
copy copy_graph_to_string.obj "Clean System Files"\copy_graph_to_string.obj
copy_graph_to_string_interface.obj: copy_graph_to_string_interface.s
ml64 /nologo /c copy_graph_to_string_interface.asm
copy copy_graph_to_string_interface.obj "Clean System Files"\copy_graph_to_string_interface.obj
copy_string_to_graph.obj: copy_string_to_graph.c
cl /nologo /c /O2 /Gy copy_string_to_graph.c
copy copy_string_to_graph.obj "Clean System Files"\copy_string_to_graph.obj
copy_string_to_graph_interface.obj: copy_string_to_graph_interface.s
ml64 /nologo /c copy_string_to_graph_interface.asm
copy copy_string_to_graph_interface.obj "Clean System Files"\copy_string_to_graph_interface.obj
This diff is collapsed.
_TEXT segment para 'CODE'
_TEXT ends
_DATA segment para 'DATA'
_DATA ends
extrn copy_graph_to_string:near
extrn remove_forwarding_pointers_from_graph:near
extrn collect_1:near
_TEXT segment
public __copy__graph__to__string
__copy__graph__to__string:
push rcx
mov rdx,rdi
lea r8,[rdi+r15*8]
mov rbp,rsp
or rsp,8
mov r12,r9
sub rsp,40
call copy_graph_to_string
mov rsp,rbp
mov r9,r12
mov rcx,qword ptr [rsp]
push rax
lea rdx,[rdi+r15*8]
mov rbp,rsp
or rsp,8
mov r12,r9
sub rsp,40
call remove_forwarding_pointers_from_graph
mov rsp,rbp
mov r9,r12
pop rcx
test rcx,rcx
jne __copy__graph__to__string_1
pop rcx
lea rbx,1[r15]
sub r15,rbx
call collect_1
add r15,rbx
jmp __copy__graph__to__string
__copy__graph__to__string_1:
add rsp,8
mov rax,qword ptr 8[rcx]
add rax,16+7
and rax,-8
add rdi,rax
sar rax,3
sub r15,rax
ret
_TEXT ends
end
This diff is collapsed.
_TEXT segment para 'CODE'
_TEXT ends
_DATA segment para 'DATA'
_DATA ends
extrn collect_1:near
extrn copy_string_to_graph:near
extrn remove_forwarding_pointers_from_string:near
_TEXT segment
public __copy__string__to__graph
__copy__string__to__graph:
push rcx
sub rsp,8
mov r12,r9
mov r9,rsp
lea r8,[rdi+r15*8]
mov rdx,rdi
mov rbp,rsp
sub rsp,40
or rsp,8
call copy_string_to_graph
mov rsp,rbp
mov r9,r12
test rax,1
je __copy__string__to__graph_1
mov rcx,qword ptr 8[rsp]
and rax,-8
mov rdx,rax
mov rbp,rsp
or rsp,8
mov r12,r9
sub rsp,40
call remove_forwarding_pointers_from_string
mov rsp,rbp
mov r9,r12
pop rbx
pop rcx
sub rbx,rdi
sar rbx,3
sub r15,rbx
call collect_1
add r15,rbx
jmp __copy__string__to__graph
__copy__string__to__graph_1:
mov rbx,rdi
mov rdi,qword ptr [rsp]
mov rcx,rax
sub rbx,rdi
sar rbx,3
add r15,rbx
add rsp,16
ret
_TEXT ends
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment