home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19292 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.2 KB

  1. 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]
  2. From: jonathan.forbes@canrem.com (jonathan forbes)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: sas/c 68030 asm
  5. Message-ID: <1993Jan26.4249.900@dosgate>
  6. Date: 27 Jan 93 02:30:01 GMT
  7. Reply-To: "jonathan forbes" <jonathan.forbes@canrem.com>
  8. Distribution: comp
  9. Organization: Canada Remote Systems
  10. Lines: 29
  11.  
  12. I am having some trouble with the output produced by the SAS/C 6.2 ASM.
  13.  
  14. It seems to assemble the following correctly:
  15.  
  16.      move.w  _variable(a4,d3.w),d1
  17.  
  18. But not:
  19.  
  20.      move.w  _variable(a4,d3.w*2),d1
  21.  
  22. If I OMD the latter, it shows:
  23.  
  24.      move.w  00(a4,d3.w*2),d1
  25.  
  26. While the former shows:
  27.  
  28.      move.w  _variable(a4,d3.w),d1
  29.  
  30. The code with the *2 does not run correctly.  I have to add a "add.w
  31. d3,d3" before it for it to work properly, but I'd rather be able to safe
  32. that instruction.
  33.  
  34. I do believe that ASM is not assembling it correctly, unless I'm missing
  35. something.
  36.  
  37. Anyone else run into this problem?
  38. --
  39. Canada Remote Systems  - Toronto, Ontario
  40. World's Largest PCBOARD System - 416-629-7000/629-7044
  41.