This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Z80 Compile
- From: Nick Kemp <nrkemp at hotmail dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 29 Jan 2014 12:01:21 -0500
- Subject: Z80 Compile
- Authentication-results: sourceware.org; auth=none
I'm
trying to make a gameboy game using the gas assembler and
was trying to set the target cpu as z80 with the -z80 option but I get
an "unrecognized option -z80" error when assembling. The command that I
ran to compile was:
as -z80 <filename.s> -o <filename.o>
I have looked through the manual and the webpage for how to do this but I
can't find an answer. Could somebody explain to me if the assembler can
actually compile a z80 object file and if it can could you tell me how? Or am I just misinterpreting the manual when it says that you can set the target platform?
Thanks
Nick