Sometime ago I wrote a simple utility that converts assembly source files into HTML format. It adds simple syntax-highlighting. I'm using when I'm putting some code on my website, you can also find it useful for that purpouse. The program is written in FASM, and full source code is included.
Get it here.
Enjoy!
:)
Posted on 2004-04-12 13:05:09 by decard
nice, I may use it for my webpage. You may want to expand it to color the reserved words also such as mov, jmp, etc.
Posted on 2004-04-12 13:44:48 by drarem
TextPad has an option to copy text as html (with currently used syntax highlighting).
Posted on 2004-04-13 09:44:20 by omega_red
Is this a rewrite? I had a little asm2html application some time ago that did exactly as you describe - can't remember where I got it (with source), but I do remember modifying it so that it correctly follows INCLUDE statements (it shelled itself), thus it would produce FULL listings of a source TREE (replaced INCLUDE statements with a html link to corresponding html sourcefile)... also I told it to ignore file extensions when applied to INCLUDEz and to only allow the initial file opened to have a .asm extension... yours similar?
Posted on 2004-04-13 09:53:32 by Homer
Is this a rewrite? (...)

No. I wrote this utility myself, just because I wanted to put my sources on my website. I was searching for some utility that could do it, but I didn't found any (and didn't know about TextPad). So I had an idea to write it myself. And it's is really simple, it doesn't follow the include statements. All of the code was written by my, it is not a rewrite.

You may want to expand it to color the reserved words also such as mov, jmp, etc.

I was thinking about it, proably in future I will expand it, but right now it is just enough for me (it performs basic syntax highlighting), now I'm doing other projects, and I don't have enough time to work on this utility :(

regards
Posted on 2004-04-13 15:52:24 by decard
Is what you said this software?

http://www.freshports.org/textproc/asm2html/

asm2html 1.4 / textproc =0

Converts NASM syntax assembly code to HTML code
Maintained by:http://www.asmcommunity.net/board/cryptmail.php?tauntspiders=in.your.face@nomail.for.you&id=ec1f3aa0b708c3300b8b2e8e08b291cc
port added: 09 Jun 2003 22:02:55

master sites:
http://virtus.ath.cx/asm2html/
http://asm2html.kerneled.com/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
CVSWeb : Sources : Main Web Site
asm2html converts NASM syntax assembly code to HTML code

WWW: http://virtus.ath.cx/asm2html/
Posted on 2004-04-15 07:44:44 by purpleendurer