Demo entry 6000117

asm_find

   

Submitted by anonymous on Sep 14, 2016 at 23:22
Language: GAS. Code size: 377 Bytes.

        cmpq    %rsi, %rdi
        movl    %edx, %eax
        jnb     .L6
        cmpb    (%rdi), %dl
        jne     .L4
        jmp     .L8
.L5:
        cmpb    %al, (%rdi)
        je      .L8
.L4:
        addq    $1, %rdi
        cmpq    %rdi, %rsi
        jne     .L5
.L6:
        movq    %rsi, %rax
        ret
.L8:
        movq    %rdi, %rax
        ret

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).