Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!acc.flint.umich.edu!jal From: jal@acc.flint.umich.edu (John Lauro) Newsgroups: comp.sys.m6809 Subject: Re: SETDP directive Message-ID: <1991Apr4.233117.10798@engin.umich.edu> Date: 4 Apr 91 23:31:17 GMT References: <1991Apr4.201738.26003@hobbit.gandalf.ca> Sender: news@engin.umich.edu (CAEN Netnews) Organization: University of Michigan - Flint Lines: 24 In article <1991Apr4.201738.26003@hobbit.gandalf.ca> mcrw@hobbit.gandalf.ca (Mark Woodward) writes: > >Hi, > >I'm trying to compile a 6809 src file with the motorola cross assembler. >I run across a small problem with SETDP $C0. The docs says that its not >supported but to use the <> convention. Anyone got any ideas or a suggestion >as to a work around. Everything else in the file compiles once I remove the >SETDP. >Any help would be appreciated.... I don't understand the problem. Using SETDP is an optimization and most code that uses it, will work without it. (Removing the SETDP shouldn't cause any major problems, the final program will just be slightly larger and slower.) The work around is to use the <> convention on the instructions the assembler would have normally saved one byte on. (Of course, simply removing SETDP is also a work around.) Note: I haven't programmed the 6809 in about 3 years, and may be getting something confused. - John_Lauor@ub.cc.umich.edu