Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : TABLE.ASM

 
Output of file : TABLE.ASM contained in archive : TASMSWAN.ZIP
%TITLE "Table processing Demo"

IDEAL
DOSSEG
MODEL small
STACK 256

DATASEG
;-----------------------------------------------------------------------
; indices 0,1,2,3, 4, 5, 6, 7, 8, 9
;-----------------------------------------------------------------------
table db 0,1,4,9,16,25,36,49,64,81

CODESEG

Start:
mov ax,@data
mov ds,ax
mov bx,offset table
mov cx,9
@@10:
mov al,cl
xlat
loop @@10
Exit:
mov ax,04C00h
int 21h

END Start


  3 Responses to “Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : TABLE.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/