home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!rutgers!micro-heart-of-gold.mit.edu!enterpoop.mit.edu!deccrl!decwrl!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!sunic!dkuug!imada!news
- From: breese@monet.imada.ou.dk (Bjorn Reese)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: sas/c 68030 asm
- Message-ID: <1993Jan27.111503.20486@imada.ou.dk>
- Date: 27 Jan 93 11:15:03 GMT
- References: <1993Jan26.4249.900@dosgate>
- Sender: news@imada.ou.dk (USENET News System)
- Distribution: comp
- Organization: Dept. of Math. & Computer Science, Odense University, Denmark
- Lines: 42
-
- In article <1993Jan26.4249.900@dosgate> "jonathan forbes"
- <jonathan.forbes@canrem.com> writes:
- > I am having some trouble with the output produced by the SAS/C 6.2 ASM.
- >
- > It seems to assemble the following correctly:
- >
- > move.w _variable(a4,d3.w),d1
- >
- > But not:
- >
- > move.w _variable(a4,d3.w*2),d1
- >
- > If I OMD the latter, it shows:
- >
- > move.w 00(a4,d3.w*2),d1
- >
- > While the former shows:
- >
- > move.w _variable(a4,d3.w),d1
- >
- > The code with the *2 does not run correctly. I have to add a "add.w
- > d3,d3" before it for it to work properly, but I'd rather be able to safe
- > that instruction.
-
- I don't know anything about ASM, but have you tried Motorola's new
- format? In your case it looks something like this:
-
- move.w (_variable,a4,d3.w*2),d1
-
- >
- > I do believe that ASM is not assembling it correctly, unless I'm missing
- > something.
- >
- > Anyone else run into this problem?
- > --
- > Canada Remote Systems - Toronto, Ontario
- > World's Largest PCBOARD System - 416-629-7000/629-7044
-
- --
-
- Bjorn Reese | Email: breese@imada.ou.dk
- Odense University, Denmark | Voice: +45 65 932 182 (private)
-