[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] m4 won.



On Tue, Aug 21, 2001 at 10:18:41AM +0200, Yann Guidon wrote:
[...]
> > > > Update for what, the instruction encoder?
> > > yes, or for whatever you have/want.
> > > since you sent me a "preliminary" package, i believe
> > > that a new version exists.
> > No, the code is still the same.  If there's nothing wrong with it,
> > I can put it into CVS.  Somehere below f-cpu/compiler, I suppose?
> in a separate directory of f-cpu/compiler, i don't know yet.
> if you have not touched your files, i'll try to integrate them
> in my next bundle.

Ok.  We can extract it later and make it a separate module.  But there are
still some things to do, e.g. the opcode assignment needs to be redone
(I assigned them in no particular order; we definitely need to renumber
them if we want fast+easy instruction decoding inside the CPU).

> > > > BTW: I created the first F-CPU object files yesterday :)
> > > and what does it make/compute ? :-)
> > Nothing... the source just contains every instruction variant we've
> > defined so far, plus the 79 asm directives I implemented (don't worry,
> > there are some aliases on the list).  The only thing that's still
> > missing is the relocation table.
> wow.

Minor update: the relocation table is no longer missing :)

> but if you can assemble, maybe you can disassemble ?

Not with the same program.  My encoder only gives you a one-way
ticket; there's no way to reverse the name -> code translation.
But it shouldn't be hard to write a disassembler module, too.

> and maybe even integrate it in the past attempt at a simulator ?

A full-blown simulator should contain a disassembler and a symbolic
debugger anyway :)

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/