View Single Post
Old 12 March 2010, 13:33   #1
Nut
Registered User
 
Join Date: Feb 2010
Location: Helsinki, Finland
Posts: 36
32bit PC-relative LEA ??

I'd like to see beyond 16bit indexing limit, so how to do it?
This is the normal way... it only sees 32k forwards and backwards.

lea data(pc),a0

data: dc.l $0



I think I did it yesterday, or I just thought I did dit it but it was something else, but now I can't remember what it was. Suppose you have 64k of data between those two lines, you ain't seeing "data" anymore. I can think of a hundred bad ways to do it, but in case you know the best way, you could enlighten me. I think I just put .l somewhere...
Nut is offline  
 
Page generated in 0.05616 seconds with 11 queries