Re: A89: Assembly Help


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

Re: A89: Assembly Help




Harry Tuttle wrote:
> 
> Could someone please tell me why:
> 
> move.l         (a2,d1.l),(a7)
> 
> gives me an error: 'undefined symbol a2,d1.l'

there is no adressing mode like this on 68000, there is though one almost like
this, but with an 8bit displacement.
Try add a 0 before the paranthesis, and it should pass through.
(move.l         0(a2,d1.l),(a7))

> 
> I tried changing the program to use PC relative with index and disp to wit:
> 
> move.l  s0(PC,d1.l),(a7)
> 
> The assembler/linker gave me a warning 'no entry point defined continue
> (y/n)'

this adressing mode only allows an 8bit displacement. a label in your program is
not 8bit, that could be a problem.
Use the above, with the zero instead.

//Olle


References: