To run the ebook program, in the command line:

ebook [text.txt] [source.asm] [pages]

text.txt is the text to be converted
source.asm is the resulting file
pages is how many pages the ebook will have

example:

C:\ebook seuss.txt catinhat.asm 50

If you're not sure how many pages, either devide
the size of the text document by 168, round, and
add 1, or just use 255 to be safe.

aka (when not sure):
pages = iPart((.txt_size)/168) + 1

or

pages = 255