🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #635

Re: Wanted: Cross-Assembler

#635
From: Michael Haardt
Date: Mon, 17 Aug 1992 23:42
54 lines
3276 bytes
In article <920814872@gandalf.moria>, michael@gandalf.moria (Michael Haardt) writes:
> In article <1992Aug12.180029.1143@gdr.bath.ac.uk>, mapsajw@gdr.bath.ac.uk (S A J Winder) writes:
>> Can anyone point me to an ftp-able cross-assembler to generate T400/T800
>> object code on the PC? I need the assembler to be stand alone software,
>> unlike the TDS.
> 
> I am working on such a thing and still looking for beta testers.  It is
> an assembler and linker, the linker creating code to start at a specific
> address.  A small disassembler is included.  I use m4 as macroprocessor.
> The assembler doesn't understand floating point constants yet.  It may
> still contain bugs, so you are warned...
> 
> The whole thing is written in ANSI C and should be quite portable.

Some people asked for more information about it.  I will make the beta
version available as source code under the condition that you don't use
it for commercial use, which needs a written license.  All rights are 
reserved.  I will post further information where you can get it after I
make it available, which will be in a few days.

I will accept and implement patches which make it *more* POSIX, not
less, so forget about #ifdef MY_WEIRD_UNIX.  In my opinion, a system 
requiring such things should be patched, not the application :)

Oh, and of course I used Origami for writing it, so if you want to edit 
something, you better use Origami or TDS too.  All source codes together
are about 60k.  Short manual pages are provided.  The mnemonics aren't, 
I assume that you have Inmos "Compiler writer's guide" to look them up.
The assembler can produce warnings for instructions which are undefined 
to the selected chip: t400, t414, t425 and t800.

The loader output is a binary which should be loaded at a specific address,
you can directly boot your transputer with it.  Library support isn't 
provided yet.

I use my own object format for object modules, and any flames will be 
bounced.  

The assembler is dumb, because I use m4 as macro processor.  It knows
about public and file-private symbols, expressions of them, it knows
equ, db, dw and align.  Expressions can use symbols of any other module.
No segments (yet), no macros, no floating point constants, of course no 
floating point expressions too.  A line of source code contains either 
one comment, one mnemonic or one label.

The whole thing is finished, which means that it produces a few test 
binaries for me.  They are small, I haven't learnt the whole assember
language of transputers yet.  The longest one is a memory check program,
being 728 bytes long.

I use iserver for most programs, a binary for Linux and a b004 will be 
available next time.

Michael
Technical Details
Message-ID: <92081891@gandalf.moria>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!gandalf!michael
References: <920814872@gandalf.moria>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!gandalf!michael
From: michael@gandalf.moria (Michael Haardt)
Newsgroups: comp.sys.transputer
Subject: Re: Wanted: Cross-Assembler
Message-ID: <92081891@gandalf.moria>
Date: 17 Aug 92 23:42:18 GMT
References: <920814872@gandalf.moria>
Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
Reply-To: u31b3hs@pool.informatik.rwth-aachen.de (Michael Haardt)
Organization: Moria
Lines: 54
Nntp-Posting-Host: messua