home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!hal.com!olivea!pagesat!netsys!agate!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!uunet.ca!canrem!dosgate!dosgate![jonathan.forbes@canrem.com]
- From: jonathan.forbes@canrem.com (jonathan forbes)
- Newsgroups: comp.sys.amiga.programmer
- Subject: sas/c 68030 asm
- Message-ID: <1993Jan26.4249.900@dosgate>
- Date: 27 Jan 93 02:30:01 GMT
- Reply-To: "jonathan forbes" <jonathan.forbes@canrem.com>
- Distribution: comp
- Organization: Canada Remote Systems
- Lines: 29
-
- 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 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
-