Path: utzoo!yunexus!torsqnt!dptcdc!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!Apple.COM!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Problems with XCMDs in MPW Object Pascal 3.0 Message-ID: <877@internal.Apple.COM> Date: 8 Mar 89 18:31:11 GMT Article-I.D.: internal.877 Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 21 References:<4321@sdcc3.ucsd.EDU> <26942@apple.Apple.COM> In article <26942@apple.Apple.COM> keith@Apple.COM (Keith Rollin) writes: > instance, I wasn't aware that the -rt option caused the A5 relative addressing > to become PC relative. But I still don't think that it will also change the I don't think it does. The linker routinely changes A5-relative addressing to PC relative addressing if the instruction and the effective address end up in the same segment (and if the reference doesn't require A5-relative addressing). I don't think -rt affects this, except that when you use this option you generally are making one segment, so everything is changed to PC-relative addressing. In MPW Pascal, one can turn on a compiler flag to require A5-relative addressing; if you did this and tried to link with -rt, you would get a linker error. Larry Rosenstein, Apple Computer, Inc. Internet: lsr@Apple.com UUCP: {nsc, sun}!apple!lsr AppleLink: Rosenstein1