I have been out of assembly for a few months. 16 Bit Code coming up.

I want to compute the string value at runtime.
Then I need to divide that value by 2.

I need some help with this.

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
count dw $ - DETA_it ; number of bytes in string

;string_changer: ; NEED TO CHECK VALUE OF STRING AND COMPARE AGAINST
; A STORED VALUE
; WE COULD ENCRYPT THE VALUE AND HIDE IT IN THE CODE SECTION
; BUT I'M JUST TRYING TO STOP GENERIC "HEXERS"
; If they restore it back to original it'll work again
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
je short message
Posted on 2004-02-02 20:37:42 by skywalker