[Ann] A few scripts you might find useful
- From: "Bogdan (bogdro)" <spamtrap@xxxxxxxxxx>
- Date: Sat, 29 Apr 2006 10:38:33 +0200
Hello!
I've been programming in assembly for a few years and recently
started learning Perl. As an exercise, I wrote a few scripts which you
might find useful or simply interesting. Comments are in Polish and
English, license is GPLv2. These scripts are:
1) a Perl script which converts C header files to FASM-compatible
header files: http://rudy.mif.pg.gda.pl/~bogdro/inne/konw-fasm.txt
(can't convert everything, of course, but should help sometimes)
2) ditto for NASM:http://rudy.mif.pg.gda.pl/~bogdro/inne/konw-nasm.txt
(but I wasn't able to make NASM assemble complex conditional assembly
directives, like %if with many expressions, including !defined)
3) a Perl script which converts GNU as source files to FASM-compatible
files: http://rudy.mif.pg.gda.pl/~bogdro/inne/gas2fasm.txt
(tested on 'gcc -S' output)
4) ditto for NASM: http://rudy.mif.pg.gda.pl/~bogdro/inne/gas2nasm.txt
Besides these, I've improved the original NASM syntax highlighting
definitions file for Kate and KWrite editors in KDE (originally made
by Nicola Gigante): http://rudy.mif.pg.gda.pl/~bogdro/inne/nasm.xml,
and based on it, I've created a similar file for FASM:
http://rudy.mif.pg.gda.pl/~bogdro/inne/fasm.xml
(these aren't yet included in the official list; working on it)
Also, I have some interesting (for me, at least) macros for FASM:
generating numbers of the Fibonacci sequence at assembly-time,
generating a 16-bit CALL FAR (I wasn't able to make FASM assemble the
correct one for me), makedev for Linux (generating a device ID given
it's major and minor numbers) and a simple checksum generator:
http://rudy.mif.pg.gda.pl/~bogdro/inne/makra-fasm.txt
Alternatively, you can find all these (with their last modification
dates) here: http://rudy.mif.pg.gda.pl/~bogdro/inne/.
Those of you who speak Polish, are invited to visit my
assembly-related homepage at http://rudy.mif.pg.gda.pl/~bogdro/, which
contains my x86 asm course, my tutorials, programs and links.
--
Pozdrawiam, Bogdan (Linux i FreeDOS)
Kurs assemblera x86 (DOS i Linuks): http://rudy.mif.pg.gda.pl/~bogdro
Grupy dyskusyjne o asm: pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32
Prawdziwy, bezpieczny komunikator: www.JabberPL.org
.
- Prev by Date: Re: lea with fs override
- Next by Date: how to run a dot matrix display by using 74HC374 driver and 8086 as controller
- Previous by thread: What's faster?
- Next by thread: how to run a dot matrix display by using 74HC374 driver and 8086 as controller
- Index(es):
Relevant Pages
|