Re: A92: Just a little problem
[Prev][Next][Index][Thread]
Re: A92: Just a little problem
> > I store a string in 'wfichier', I store a number
> > to 'cpt', I store a char in 'd0': my problem is to
> > store the char 'd0' in the string 'wfichier' at
> > the character number 'cpt',and I didn't found how
> > to: could anybody help me?
> > Thanks!
> > @+
lea wfichier(pc),a0
move.w cpt(pc),d1
move.b d0,0(a0,d1.w)
12 bytes in memory, 8+12+14=34 cycles
And what about:
lea wfichier(pc),a0
add.l cpt,a0
move.b d0,(a0)
12 bytes in memory, 8+8+8=24 cycles and d1 is not used!
hugo
References: