zombie-core-utils/inc/diff_func.inc
zombie d8f9936073 made it more system v complient
in diff i use fucking r10b for somereason
2021-09-24 17:33:36 -04:00

36 lines
482 B
PHP

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
mov r10b, [rdi]
mov r11b, [rsi]
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