home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 196 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: PPC compilers
  5. Date: 4 Jan 1996 13:43:40 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4cglic$b8n@sunsystem5.informatik.tu-muenchen.de>
  9. References: <john.hendrikx.40ka@grafix.xs4all.nl> <19951223.57F728.6866@sisyphus.demon.co.uk> <4bqdk8$6g5@sunsystem5.informatik.tu-muenchen.de> <19951227.542040.7590@sisyphus.demon.co.uk> <4c9h7d$h3i@sunsystem5.informatik.tu-muenchen.de> <19960102.46B6B0.1171E@sisyphus.demon.co.uk>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Dave.Sparks@sisyphus.demon.co.uk wrote:
  14.  
  15. :   JF> AFTER THE OPERAND IS USED, IT IS INCREMENTED by one, two or four
  16. :   JF> [...]"
  17.  
  18. : My original post used PREDECREMENT, not postincrement.
  19.  
  20. :)
  21.  
  22. as Hitatchi quotes seem to be accepted ;)
  23. "...Bevore the operand is used, it is decremented..."
  24.  
  25. same thing ;)
  26.  
  27. :   JF> I would interpret "after operand is used" that way:
  28.  
  29. :   JF> when data from (a0) is read, a0 was used (used to build an adress).
  30. :   JF> so a0 is incremented. then data is written at (a0)+.
  31.  
  32. : "after the operand is used" does not necessarily mean "before
  33. : the other operand is used".  A good definition leaves nothing
  34. : to "interpretation".
  35.  
  36. agree.
  37.  
  38. Is there any definition, that tells if a0 is incremented bevore it's 
  39. usgae in a following instruction ?  ;)
  40.  
  41. Motorola would maybe let the 080 misbehave anyway. like all 68010+ misbehave
  42. when loading sr->Dn.
  43.  
  44. : You were criticising C because its definition very carefully
  45. : states that the order of evaluation of expressions between control
  46.  
  47. I was NOT criticising this.
  48.  
  49. : do not give uniformly predictable results.  You then claim that
  50. : assembly code is better because the assembly code definition gives
  51. : no such warning for
  52.  
  53. :    MOVE.L -(A0),-(A0)
  54.  
  55. I did NOT claim this.
  56.  
  57. :   >> -- Dave.Sparks@sisyphus.demon.co.uk (Staffordshire, England)
  58. ------------------------------------------------------------------------
  59.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  60.  
  61.