home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / transput / 940 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  3.1 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!gandalf!michael
  2. From: michael@gandalf.moria (Michael Haardt)
  3. Newsgroups: comp.sys.transputer
  4. Subject: Re: Wanted: Cross-Assembler
  5. Message-ID: <92081891@gandalf.moria>
  6. Date: 17 Aug 92 23:42:18 GMT
  7. References: <920814872@gandalf.moria>
  8. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  9. Reply-To: u31b3hs@pool.informatik.rwth-aachen.de (Michael Haardt)
  10. Organization: Moria
  11. Lines: 54
  12. Nntp-Posting-Host: messua
  13.  
  14. In article <920814872@gandalf.moria>, michael@gandalf.moria (Michael Haardt) writes:
  15. > In article <1992Aug12.180029.1143@gdr.bath.ac.uk>, mapsajw@gdr.bath.ac.uk (S A J Winder) writes:
  16. >> Can anyone point me to an ftp-able cross-assembler to generate T400/T800
  17. >> object code on the PC? I need the assembler to be stand alone software,
  18. >> unlike the TDS.
  19. > I am working on such a thing and still looking for beta testers.  It is
  20. > an assembler and linker, the linker creating code to start at a specific
  21. > address.  A small disassembler is included.  I use m4 as macroprocessor.
  22. > The assembler doesn't understand floating point constants yet.  It may
  23. > still contain bugs, so you are warned...
  24. > The whole thing is written in ANSI C and should be quite portable.
  25.  
  26. Some people asked for more information about it.  I will make the beta
  27. version available as source code under the condition that you don't use
  28. it for commercial use, which needs a written license.  All rights are 
  29. reserved.  I will post further information where you can get it after I
  30. make it available, which will be in a few days.
  31.  
  32. I will accept and implement patches which make it *more* POSIX, not
  33. less, so forget about #ifdef MY_WEIRD_UNIX.  In my opinion, a system 
  34. requiring such things should be patched, not the application :)
  35.  
  36. Oh, and of course I used Origami for writing it, so if you want to edit 
  37. something, you better use Origami or TDS too.  All source codes together
  38. are about 60k.  Short manual pages are provided.  The mnemonics aren't, 
  39. I assume that you have Inmos "Compiler writer's guide" to look them up.
  40. The assembler can produce warnings for instructions which are undefined 
  41. to the selected chip: t400, t414, t425 and t800.
  42.  
  43. The loader output is a binary which should be loaded at a specific address,
  44. you can directly boot your transputer with it.  Library support isn't 
  45. provided yet.
  46.  
  47. I use my own object format for object modules, and any flames will be 
  48. bounced.  
  49.  
  50. The assembler is dumb, because I use m4 as macro processor.  It knows
  51. about public and file-private symbols, expressions of them, it knows
  52. equ, db, dw and align.  Expressions can use symbols of any other module.
  53. No segments (yet), no macros, no floating point constants, of course no 
  54. floating point expressions too.  A line of source code contains either 
  55. one comment, one mnemonic or one label.
  56.  
  57. The whole thing is finished, which means that it produces a few test 
  58. binaries for me.  They are small, I haven't learnt the whole assember
  59. language of transputers yet.  The longest one is a memory check program,
  60. being 728 bytes long.
  61.  
  62. I use iserver for most programs, a binary for Linux and a b004 will be 
  63. available next time.
  64.  
  65. Michael
  66.