🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8590

Re: Z80 Cross Assembler

#8590
From: Colin Kelley
Date: Wed, 29 Oct 1986 04:29
41 lines
2407 bytes
In article <487@rtech.UUCP> alexh@shrew.UUCP (Alex Hwang) writes:
> Does anyone know any reliable Z80 cross assembler running under DOS?

I have modified Bruce Norskog's (I don't know who he is either!) zmac z80 macro
assembler to be a fairly portable, and I've got a version of it compiled under
MSC 4.0 on my PC.  The PD program was sent to me by Dave Shanks (atelabs!cds).
It seems to be running fine on the PC, except that macros don't work on the PC
because the author relied on a quirky feature of Unix--he opens a temporary
file, then immediately deletes it, although continuing to read and write from
it...

Anyway, I haven't gotten to the software phase of my senior project (next
semester) so I haven't used this assembler a lot (yet!), and haven't missed
macros much in the few small programs I have used it for...

Here's the header of the program:
/*
 *  z80 -- macro cross-assembler for the Zilog Z80 microprocessor
 *
 *  Bruce Norskog	4/78
 *
 *  Last modification  10-2-86 by cdk
 *  This assembler is modeled after the Intel 8080 macro cross-assembler
 *  for the Intel 8080 by Ken Borgendale.  The major features are:
 *	1.  Full macro capabilities
 *	2.  Conditional assembly
 *	3.  A very flexible set of listing options and pseudo-ops
 *	4.  Symbol table output
 *	5.  Error report
 *	6.  Elimination of sequential searching
 *	7.  Commenting of source
 *	8.  Facilities for system definiton files
 *...*/

If anyone else out there wants it, I can send you the Unix source (yacc, ~48K),
generic C source (yacc output, ~68K), or the PC executable compiled by MSC 4.0
(~33K).  Beware that it won't run on machines where
sizeof(int) != sizeof(char *) (will they every learn??!!), short of a complete
rewrite...this is ok on the PC, when compiled under the small memory model...

			-Colin Kelley ..{cbmvax,pyrnj,psuvax1}!vu-vlsi!colin
Technical Details
Message-ID: <396@vu-vlsi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!cbmvax!vu-vlsi!colin
References: <487@rtech.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!cbmvax!vu-vlsi!colin
From: colin@vu-vlsi.UUCP (Colin Kelley)
Newsgroups: net.micro.pc
Subject: Re: Z80 Cross Assembler
Message-ID: <396@vu-vlsi.UUCP>
Date: Tue, 28-Oct-86 23:29:43 EST
Article-I.D.: vu-vlsi.396
Posted: Tue Oct 28 23:29:43 1986
Date-Received: Wed, 29-Oct-86 09:26:45 EST
References: <487@rtech.UUCP>
Reply-To: colin@vu-vlsi.UUCP (Colin Kelley)
Organization: Villanova Univ. EE Dept.
Lines: 41