please dont rip this site
; 4.7.01
; ech.com writes the commandline after the first " till the
; penultimate character to stdout (without an trailing CRLF)
; example: ech "line with <>|^&">tmp.txt

        @=$100
        move.w  (sp)+,r0
        move.w  r0,-(sp)
        sub.b   #-$c5,r0        ; r0=$00c5
        move.w  r0,-(sp)
        move.w  (sp)+,r6        ; r6=$00c5
        sub.b   #$45,r0         ; r0=$0080
        move.w  r0,-(sp)        ;
        

        eor.b   r0,(_10-$c5).b(r6.w)
        eor.b   r0,(_20-$c5).b(r6.w)
        eor.b   r0,(_30+1-$c5).b(r6.w)
        eor.w   (_30+1-$c5).b(r6.w),r0  ; r0=$4378
        sub.w   #$425a,r0               ; r0=_50 (= $011e)
        move.w  r0,-(sp)
        sub.b   r0,(_40+1-$c5).b(r6.w)
        bne.b   _20

_50:    move.w  (sp)+,r3        ; r3=$0080
        moveq.w #$40,-(sp)
        move.w  (sp)+,r6        ; r6=$0040
        move.w  (sp)+,r2
        move.w  r2,-(sp)        ; r2=$0000
        eor.b   $40.b(r6.w),r2  ; num. of char

        eor.w   #$2333,r0       ; m0=$22
        inc.w   r0              ; nop
_60:    inc.w   r3    
        dec.w   r2
_40:    dc.b    $7e,(_20-@-1)+(_50&$ff) ; ble.b   _20
        cmp.b   m0,(r3.w)
_30:    dc.b    $75,(_60-@-1)^$80       ; bne.b   _60
        inc.w   r3
        dec.w   r2
        move.w  r3,-(sp)
        move.w  (sp)+,r1
        
        move.w  (sp)+,r3
        move.w  r3,-(sp)
        inc.w   r3              ; r3=1
        eor.w   #$622e,r0       ; r0=$4000

_10:    dc.b    $cd^$80,$21     ; trap    #$21
_20:    dc.b    $c3^$80         ; rts.w


file: /Techref/dos/ech_mac.htm, 1KB, , updated: 2004/5/20 16:48, local time: 2024/3/28 15:59,
TOP NEW HELP FIND: 
44.203.219.117:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/Techref/dos/ech_mac.htm"> ech.mac</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .