Giter Site home page Giter Site logo

tasm-syntax-highlighter's Introduction

TASM Syntax highlighter

Takes TASM source code and turns it into .htm file with highlighted core elements.

Core features

  • 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

Preview

Prerequisites

  • DOSBox - x86 emulator with DOS
  • TASM - Turbo Assembler

Build from source

$ 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

Usage

tasyn <input_file> [options]

If -o flag hasn't been used, output file name is the same, but with .htm extension

Command Line Options

-h Print the help message.

-o <output_file> Explicitly provide an output file name.

-w White theme.

Input requirements

  • Max size of a line is 1024 bytes
  • File name (input/output) can have at max 8 chars + 3 for extension (DOS requirement)

Why TASM?

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

tasm-syntax-highlighter's People

Contributors

zaicevas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.