home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
TASMSWAN.ZIP
/
STRUC.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-07-13
|
744b
|
49 lines
%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