Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: please comm...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 12 Topic 436 of 494
Post > Topic >>

Re: please comment each line

by Herbert Kleebauer <klee@[EMAIL PROTECTED] > Feb 15, 2007 at 11:07 AM

santosh wrote:
> Herbert Kleebauer wrote:
> 
> Good luck to jella deciphering this one!


For example, what do you think is easier to understand
(as Betov would say, which one uses a more "full talking
assembly syntax"):

DECODE: LODSB
        XOR AL, DL
        STOSB
        LOOP DECODE
        MOV CX, 000AH
        POP SI
        LEA DI, data5
        REPE CMPSB
        JNE WHAT_THE


or:
   _20: move.b  (r5.w)+-,r0     ; get next byte of pass
        eor.b   r1,r0           ; eor it with dat62
        move.b  r0,(r6.w)+-{s1} ; store it back
        dbf.w   r2,_20          ; loop until dat62 processed

        move.w  #10,r2          ; compare 10 bytes
        move.w  (sp)+,r5        ; pointer to pass
        move.w  #inbuf,r6       ; pointer to input input string

        repeq_r2 cmp.b (r6.w)+-{s1},(r5.w)+-  ; compare
        bne.b   wrong           ; strings not equal

Or where is the password more obvious:

        DB 64H, 41H, 46H, 40H, 0EH, 1DH, 14H, 1FH, 18H,0AH, 00H

or here:

pass:   dc.b    'J' ^ key2
        dc.b    'o' ^ key2
        dc.b    'h' ^ key2
        dc.b    'n' ^ key2
        dc.b    ' ' ^ key2
        dc.b    '3' ^ key2
        dc.b    ':' ^ key2
        dc.b    '1' ^ key2
        dc.b    '6' ^ key2
        dc.b    '$' ^ key2
        dc.b    0




 12 Posts in Topic:
please comment each line
jella_flores@[EMAIL PROTE  2007-02-14 05:30:29 
Re: please comment each line
Herbert Kleebauer <kle  2007-02-14 18:06:18 
Re: please comment each line
"santosh" <s  2007-02-14 11:12:55 
Re: please comment each line
Herbert Kleebauer <kle  2007-02-15 11:07:48 
Re: please comment each line
Betov <betov@[EMAIL PR  2007-02-15 10:55:26 
Re: please comment each line
Herbert Kleebauer <kle  2007-02-15 13:51:21 
Re: please comment each line
Betov <betov@[EMAIL PR  2007-02-15 13:45:50 
Re: please comment each line
//\\\\o//\\\\annabee <  2007-02-15 16:43:39 
Re: please comment each line
Frank Kotler <fbkotler  2007-02-15 13:41:48 
Re: please comment each line
Herbert Kleebauer <kle  2007-02-15 15:51:09 
Re: please comment each line
Frank Kotler <fbkotler  2007-02-15 16:31:32 
Re: please comment each line
"Evenbit" <n  2007-02-15 02:41:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 22:27:40 CDT 2008.