gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: A bit of Catching Up
From: Ralf Forsberg
Date: Wed, 22 Oct 2003 07:33:28 +0200

On Wed, Oct 22, 2003 at 06:56:44AM +1000, James Cameron wrote:
> On Tue, Oct 21, 2003 at 12:29:48PM +0200, Ralf Forsberg wrote:
> > On Tue, Oct 21, 2003 at 07:59:45PM +1000, James Cameron wrote:
> > > load h tmp.hex
> > > load c tmp.cod
> > nitpic(k), the tmp.cod will load the hex and set the processor. 
> > (i.e. the "load h" and processor commands are unnessesary)
> 
> Thanks for that.  Is this provided tmp.hex and tmp.cod are from the 
> same assembler run?  Or will the second load erase the code memory and
> replace it with the new content?  Or does the load of tmp.cod cause 
> tmp.hex to be read as well?

I think the cod file contains the opcodes. Try delete the hex and 
run gpsim?

 / Ralf


gnupic@linuxhacker.org