Takes TASM source code and turns it into .htm file with highlighted core elements.
- Case-insensitive
- Works with both CRLF and LF line endings
- Highlighted reserved words can easily be modified in reserved.inc and reserved_words macro in tasyn.asm
$ git clone https://github.com/tozaicevas/tasm-syntax-highlighter
$ dosbox
(further steps are executed in dosbox environment)
$ mount c: /home/[user name]/tasm-syntax-highlighter
$ c:
$ tasm tasyn.asm
$ tlink tasyn.obj
Assuming TASM is in /home/[user name]/tasm-syntax-highlighter
tasyn <input_file> [options]
If -o flag hasn't been used, output file name is the same, but with .htm extension
-h
Print the help message.
-o <output_file>
Explicitly provide an output file name.
-w
White theme.
- Max size of a line is 1024 bytes
- File name (input/output) can have at max 8 chars + 3 for extension (DOS requirement)
This project was made for educational purposes. The goal was to work on the knowledge I've gained throughout Computer Architecture course in my 1st semester and go even further. Main reference source: TASM 5 User's guide