Log in

View Full Version : What is going on with this simple cmp ?


__DuDu__
June 3rd, 2001, 19:54
cmp byte_404678, '-'

thats how i saw in iDA then i did in sice 'd 404678' the real serial showed up "643729674" my problem is: I cant figure what part of 643729674 is being cmp'ed with '-' so i cant add the '-' and continue debugging :/

tnx
__DuDu__

Rage9
June 3rd, 2001, 21:46
quite simply:
cmp byte_404678, '-'

is nothing more then compare one byte at memory location 404678 to the character '-' not too hard to understand.

-brad

mo k
June 3rd, 2001, 23:05
it is comparing the 6 to a '-'.