Thread: Simple Question
View Single Post
Old 08 January 2009, 08:18   #7
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,021
An address is 32 bit (long), not 16 bit (word). So it should be movea.l, not .w. You are probably reading a book about an embedded system with few memory and small addresses.

Another possible instruction is lea:

lea.l ftable, a0

or really (pc-)relative:

lea.l ftable(pc),a0
thomas is offline  
 
Page generated in 0.04586 seconds with 11 queries