unicorn/tests/benchmarks/cow/binary.S

14 lines
140 B
ArmAsm
Raw Permalink Normal View History

USE64
DEFAULT REL
SECTION .text
loop:
xor rcx, rcx
write:
mov [rbx+rcx*8], rsi
inc rcx
mov rdi, rax
sub rdi, rcx
jnz write
jmp loop