Someone told me that I need to change this algorithmn to work on bytes
instead of as a word. I don't know where to start. I want it to calculate
the string value at runtime and compare it to a stored value.

Thanks,
Andrew Kennedy
http://www.asmcommunity.net/board/cryptmail.php?tauntspiders=in.your.face@nomail.for.you&id=013355fd3e7f2f5b6c1497ce21c84d1b
To respond by email remove the LOG from the address.

DETA_it db "Andrew Kennedy http://www.asmcommunity.net/board/cryptmail.php?tauntspiders=in.your.face@nomail.for.you&id=18bec5d473b082d706b33eed538d9d89 1/31/04" ; string value = 1325h

xor cx,cx
mov cx, 23 ; count = string bytes / 2
mov si, offset ; address of start-of-strings
xor ax, ax
more:
xor ax,
inc si
inc si
dec cx
jnz more
cmp ax, 1325h ; previously calc'd value of string
Posted on 2004-02-03 08:56:08 by skywalker