libco
libco copied to clipboard
There is any one who translate the x86 64 assembly language to arm64?
I want to port the assembly language to arm64. There is any one can help
leaq 8(%rsp),%rax
leaq 112(%rdi),%rsp
pushq %rax
pushq %rbx
pushq %rcx
pushq %rdx
pushq -8(%rax) //ret func addr
pushq %rsi
pushq %rdi
pushq %rbp
pushq %r8
pushq %r9
pushq %r12
pushq %r13
pushq %r14
pushq %r15
movq %rsi, %rsp
popq %r15
popq %r14
popq %r13
popq %r12
popq %r9
popq %r8
popq %rbp
popq %rdi
popq %rsi
popq %rax //ret func addr
popq %rdx
popq %rcx
popq %rbx
popq %rsp
pushq %rax
xorl %eax, %eax
ret
I want to port the assembly language to arm64. There is any one can help me? Thanks a lot
The original version of libco supports ARM and ARM64.
https://github.com/idealvin/coost.git
跨平台类go语言编程的c++协程库。