Re: A92: offset


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

Re: A92: offset




Robert Caldwell wrote:
lea	save(PC),a0	;a0 points to the first byte of save

...

save	ds.b	40		;40 bytes


If save is not in the CODE (default) section of your program, (it could
be in DATA, BSS, or linked external module) then you would use

move.l	#save,a0




> 
> could I do the following:
> 
> ...
> move save,a0
> ...
> 
> save: .ds 40
> 
> or how would i save the location of "save:" in a0?
> 
> -Rob
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com


References: