TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: ALL
from: BARRY BLOCK
date: 1998-02-25 16:58:00
subject: change A to E

Hello all, I was trying to encript a string and I jumped when I changed
AH from 0Ah to 0Eh and saw the results :-)
I now know what is happening but it is interesting the first time you see it.
/*
;-------------------------------
;encode string - A86 com file
        mov si,offset dat
        mov AH,0ah              ;change AH to 0eh and run again
        mov bx,0
        mov cx,11
L1:     lodsb
        xor al,cl
        int 10h
        loop L1
        mov ah,4ch
        int 21h
;dat db 'Your Name',13,10
dat db  'Re|z',39,'Hdif',15,11
;-------------------------------
*/
Regards, Barry
--- Terminate 5.00/Pro 
---------------
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.