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

 
Output of file : STRUC.ASM contained in archive : TASMSWAN.ZIP
%TITLE "Structure demo for the Turbo Debugger"

IDEAL
DOSSEG
MODEL small
STACK 256

STRUC Date
day db 1
month db ?
year dw 1991
ENDS Date

STRUC CityState
city db '####################',0
state db '##',0
ENDS CityState


DATASEG

exitCode db 0

today Date <>
birthDay Date <8,8,1988> ; for this program
earthDay Date <1,1,2001>
newYear Date <,,1990>

address CityState <>
glitterTown CityState <'Hollywood','CA'>
pennState CityState <'Pennstate','PA'>
hotSpot CityState <'Brownsville','TX'>
defaultState CityState <,'NH'>
defaultCity CityState <'New York City'>


CODESEG

Start:
mov ax,@data
mov ds,ax

Exit:
mov ah,04Ch
mov al,[exitCode]
int 21h

END Start


  3 Responses to “Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : STRUC.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/