Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : ANDORXOR.ASM
Output of file : ANDORXOR.ASM contained in archive : TASMSWAN.ZIP
IDEAL
DOSSEG
MODEL small
STACK 256
DATASEG
exitCode DB 0 ;if you want comments
sourceWord DW 0ABh ; BUY the book
wordMask DW 0CFh
CODESEG
Start:
mov ax,@data
mov ds,ax
mov ax,[sourceWord]
mov bx,ax
mov cx,ax
mov dx,ax
and ax,[wordMask]
or bx,[wordMask]
xor cx,[wordMask]
xor dx,dx
Exit:
mov ah,04Ch
mov al,[exitCode]
int 21h
End Start
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/