home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19265 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  49 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!uwm.edu!caen!uvaarpa!concert!sas!mozart.unx.sas.com!wonka.unx.sas.com!sassek
  3. From: sassek@wonka.unx.sas.com (Steve Krueger)
  4. Subject: Re: sas/c 68030 asm
  5. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  6. Message-ID: <C1Inq1.Etv@unx.sas.com>
  7. Date: Wed, 27 Jan 1993 14:18:01 GMT
  8. Distribution: comp
  9. References: <1993Jan26.4249.900@dosgate>
  10. Nntp-Posting-Host: wonka.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 35
  13.  
  14. In article <1993Jan26.4249.900@dosgate> "jonathan forbes" <jonathan.forbes@canrem.com> writes:
  15. >I am having some trouble with the output produced by the SAS/C 6.2 ASM.
  16. >
  17. >It seems to assemble the following correctly:
  18. >
  19. >     move.w  _variable(a4,d3.w),d1
  20. >
  21. >But not:
  22. >
  23. >     move.w  _variable(a4,d3.w*2),d1
  24. >
  25. >If I OMD the latter, it shows:
  26. >
  27. >     move.w  00(a4,d3.w*2),d1
  28. >
  29. >While the former shows:
  30. >
  31. >     move.w  _variable(a4,d3.w),d1
  32. >
  33. >The code with the *2 does not run correctly.  I have to add a "add.w
  34. >d3,d3" before it for it to work properly, but I'd rather be able to safe
  35. >that instruction.
  36. >
  37. >I do believe that ASM is not assembling it correctly, unless I'm missing
  38. >something.
  39.  
  40. You are correct. It seems to be a bug in our assembler. I'll mae sure
  41. it gets fixed for the next version, but until then, you'll have to use
  42. the 2 instructions. Sorry.
  43.  
  44.  
  45. >Canada Remote Systems  - Toronto, Ontario
  46. >World's Largest PCBOARD System - 416-629-7000/629-7044
  47.  
  48.  
  49.