Re: A86: gbdk
[Prev][Next][Index][Thread]
Re: A86: gbdk
David Knaack wrote:
>
> From: Jimmy Mårdell <yarin@acc.umu.se>
>
> >[The gameboy cpu] uses the Z80 mnemonic though.
> >For instance, on the 8080 the "ld" instruction was "mov",
> >the register were called by numbers instead of letters etc.
>
> That sounds like an assembler issue rather than a processer issue. 'Course
> I don't know much about the acutal implimentation details of an assembler,
> but it seems like the mnemonics and register names could be anything at
> all, as long as the assembler knew what opcodes to generate from them.
>
> >The Z80 contains all 8080 instructions (same opcodes) + lots of new ones.
> >Thus, there are LOTS of Z80 instructions missing on the GB CPU.
> >Also, it runs at 4.2MHz/8.4MHz.
>
> So what is the attraction of the GB from a programming standpoint? More
> memory? Better IO?
cheaper, i bet. consider, the decision of what processor to use was
probably made by some high-level beaurocrat, who knows zilch to nothing
about programming...
--robin
>
> later
> DK
References: