;***
;
; HAX.ASM  - Demonstrates how to use TASM to make data files
;
; Assemble with:
;   TASM hax
; Link with:
;   TLINK /t hax, hax.bin
;

ideal

model tiny
codeseg

   ORG 0h      ; offset of zero

begin:

;
; Declare your data here ...
;

File_Header DB 'HAX! How to use an assembler to make a data file'
            DB 26    ; Ctrl-Z

LABEL Index BYTE

String1  DW offset String_1
String2  DW offset String_2
String3  DW offset String_3
String4  DW offset String_4

LABEL Strings BYTE

String_1 DB 'The first string', 0
String_2 DB 'another one...', 0
String_3 DB 'Yet another string!',0
String_4 DB 'A BIG STRING', 13, 10
         DB 'Spread out over several', 13, 10
         DB 'lines.',0

   end   begin
