zombie-core-utils/inc/diff_func.inc

37 lines
482 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)
_loopwasp12bsharknado:
;loop tings
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