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

  1. 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
  2. From: breese@monet.imada.ou.dk (Bjorn Reese)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: sas/c 68030 asm
  5. Message-ID: <1993Jan27.111503.20486@imada.ou.dk>
  6. Date: 27 Jan 93 11:15:03 GMT
  7. References: <1993Jan26.4249.900@dosgate>
  8. Sender: news@imada.ou.dk (USENET News System)
  9. Distribution: comp
  10. Organization: Dept. of Math. & Computer Science, Odense University, Denmark
  11. Lines: 42
  12.  
  13. In article <1993Jan26.4249.900@dosgate> "jonathan forbes"  
  14. <jonathan.forbes@canrem.com> writes:
  15. > I am having some trouble with the output produced by the SAS/C 6.2 ASM.
  16. > It seems to assemble the following correctly:
  17. >      move.w  _variable(a4,d3.w),d1
  18. > But not:
  19. >      move.w  _variable(a4,d3.w*2),d1
  20. > If I OMD the latter, it shows:
  21. >      move.w  00(a4,d3.w*2),d1
  22. > While the former shows:
  23. >      move.w  _variable(a4,d3.w),d1
  24. > The code with the *2 does not run correctly.  I have to add a "add.w
  25. > d3,d3" before it for it to work properly, but I'd rather be able to safe
  26. > that instruction.
  27.  
  28. I don't know anything about ASM, but have you tried Motorola's new
  29. format? In your case it looks something like this:
  30.  
  31.     move.w    (_variable,a4,d3.w*2),d1
  32.  
  33. > I do believe that ASM is not assembling it correctly, unless I'm missing
  34. > something.
  35. > Anyone else run into this problem?
  36. > --
  37. > Canada Remote Systems  - Toronto, Ontario
  38. > World's Largest PCBOARD System - 416-629-7000/629-7044
  39.  
  40. --
  41.  
  42. Bjorn Reese                    |     Email: breese@imada.ou.dk
  43. Odense University, Denmark     |     Voice: +45 65 932 182 (private)
  44.