Request Feature Coments I think that pc relative call, jump and ret can be usefull so video controler mini-programs will be relocatable.
For example:
...
20 CALL [...] #n subrutine_addresss
...
30 subrutine_address:
the relative call will be:
{signals}{call_opcode}{ +10 (subrutine_address - PC)}
Pros:
- if you memcopy the program to another area you do not need to re
assembe(link) the program with the new start address
Cons:
- add a signed adder to the verilog
- break the return from top level
Diego.
El Fri, 7 Jul 2006 07:13:37 -0400
"Timothy Miller" <[EMAIL PROTECTED]> escribio:
> On 7/6/06, Kelly Murphy <[EMAIL PROTECTED]> wrote:
> > Hello all, my name is Kelly Murphy. I've been lurking on the list for
> > a while now, so I figured I'd try to add something to the project.
> >
> > I'm working on an assembler for the instruction set described here. I
> > have the grammer about finished and I am working on instruction
> > encoding.
> >
> > I have a question though, what kind of output format do you want? Do
> > you want it to generate a flat binary? Or do you want something like
> > Mortorola S-Record?
>
> Flat binary, please. We'll use memcpy or something to dump it into the chip.
>
> Thank you for doing this!
> _______________________________________________
> Open-graphics mailing list
> [email protected]
> http://lists.duskglow.com/mailman/listinfo/open-graphics
> List service provided by Duskglow Consulting, LLC (www.duskglow.com)
pgpiZ0r2IAiom.pgp
Description: PGP signature
_______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
