libco icon indicating copy to clipboard operation
libco copied to clipboard

There is any one who translate the x86 64 assembly language to arm64?

Open darbee opened this issue 6 years ago • 2 comments

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

darbee avatar Nov 20 '18 13:11 darbee

The original version of libco supports ARM and ARM64.

Screwtapello avatar Sep 26 '19 07:09 Screwtapello

https://github.com/idealvin/coost.git

跨平台类go语言编程的c++协程库。

opt-liang avatar Oct 18 '22 04:10 opt-liang