Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!sdcc6!sdcc3!am151fap From: am151fap@sdcc3.ucsd.EDU (Eric Krugler) Newsgroups: comp.sys.mac.programmer Subject: Problems with XCMDs in MPW Object Pascal 3.0 Keywords: Object Pascal, XCMDs Message-ID: <4321@sdcc3.ucsd.EDU> Date: 4 Mar 89 22:04:02 GMT Organization: University of California, San Diego Lines: 19 I'm trying to create an XCMD using MPW Pascal 3.0. The problem is that if I use the Object extensions provided by MPW Pascal the linker runs into problems. The -rt link option is used to create the XCMD resource and it causes A5 addressing modes to be converted to PC relative addressing modes, but only for JSR, JMP, LEA, or PEA instructions. The error that the linker produces (#41) states that a different instruction specifying A5 relative addressing has been found. The real question is can an XCMD, DRVR, or DA be created using the Object extensions of MPW Pascal and if so, how do I work around the problem with the linker. Any comments would be greatly appreciated. Eric Krugler, am151fap@sdcc3.UCSD.edu NOTE: I am NOT using the MacApp libraries and I need a quick response since this is being used as an assignment for a class.