zombie-core-utils/inc/diff_func.inc

43 lines
536 B
PHP
Raw Normal View History

2021-09-19 12:44:18 -04:00
diff_func:
xor rcx, rcx ;we do this to clear garbage in rcx (i have had garbage in it before)
mov r8, rdi
mov r9, rsi
2021-09-19 12:44:18 -04:00
_loopwasp12bsharknado:
;loop tings
mov rdi, r8
mov rsi, r9
add rdi, rcx
add rsi, rcx
2021-09-19 12:44:18 -04:00
mov r10b, [rdi]
mov r11b, [rsi]
2021-09-19 12:44:18 -04:00
cmp r10b, r11b
jne _differiwikeassembwy
cmp r10b, 0
je _notdifferiwikeassembwy
cmp r11b, 0
je _notdifferiwikeassembwy
inc rcx
jmp _loopwasp12bsharknado
_differiwikeassembwy:
mov r10b, 1
jmp _end123432345
_notdifferiwikeassembwy:
mov r10b, 0
_end123432345:
ret