; first arg: pointer to null terminated string to check for dubs
; return value: 0 if dubs, non 0 if not dubs
dubs:
push rax
lodsb
test al, al
jz .L1
pop rdx
jmp dubs
.L1: pop rax
xor al, dl
ret